tree: https://gitee.com/openeuler/kernel.git openEuler-1.0-LTS head: 773f731853f1368508a0b112047bd9b5a4bb9a5e commit: 3b7ad71a0a415eb51fb41ddc01ef538a7e163de4 [1358/1358] Intel: EDAC, i10nm: Add a driver for Intel 10nm server processors config: x86_64-randconfig-121-20241228 (https://download.01.org/0day-ci/archive/20241229/202412290441.n0ZIl7ko-lkp@i...) compiler: gcc-12 (Debian 12.2.0-14) 12.2.0 reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20241229/202412290441.n0ZIl7ko-lkp@i...)
If you fix the issue in a separate patch/commit (i.e. not just a new version of the same patch/commit), kindly add following tags | Reported-by: kernel test robot lkp@intel.com | Closes: https://lore.kernel.org/oe-kbuild-all/202412290441.n0ZIl7ko-lkp@intel.com/
sparse warnings: (new ones prefixed by >>)
drivers/edac/i10nm_base.c:135:19: sparse: sparse: cast removes address space '__iomem' of expression
drivers/edac/i10nm_base.c:157:31: sparse: sparse: cast removes address space '__iomem' of expression drivers/edac/i10nm_base.c:158:37: sparse: sparse: cast removes address space '__iomem' of expression
vim +/__iomem +135 drivers/edac/i10nm_base.c
130 131 static bool i10nm_check_ecc(struct skx_imc *imc, int chan) 132 { 133 u32 mcmtr; 134
135 mcmtr = *(u32 *)(imc->mbase + 0x20ef8 + chan * 0x4000);
136 edac_dbg(1, "ch%d mcmtr reg %x\n", chan, mcmtr); 137 138 return !!GET_BITFIELD(mcmtr, 2, 2); 139 } 140