mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* drivers/edac/ie31200_edac.c:613:19: sparse: sparse: symbol 'rpl_s_cfg' was not declared. Should it be static?
@ 2026-03-26  4:23 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2026-03-26  4:23 UTC (permalink / raw)
  To: Qiuxu Zhuo; +Cc: oe-kbuild-all, linux-kernel, Tony Luck

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head:   0138af2472dfdef0d56fc4697416eaa0ff2589bd
commit: d0742284ec6da1435acdda428088136944c4c3c2 EDAC/ie31200: Add Intel Raptor Lake-S SoCs support
date:   1 year ago
config: i386-randconfig-062-20260326 (https://download.01.org/0day-ci/archive/20260326/202603261217.CJjVkDlZ-lkp@intel.com/config)
compiler: clang version 20.1.8 (https://github.com/llvm/llvm-project 87f0227cb60147a26a1eeb4fb06e3b505e9c7261)
sparse: v0.6.5-rc1
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260326/202603261217.CJjVkDlZ-lkp@intel.com/reproduce)

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/202603261217.CJjVkDlZ-lkp@intel.com/

sparse warnings: (new ones prefixed by >>)
>> drivers/edac/ie31200_edac.c:613:19: sparse: sparse: symbol 'rpl_s_cfg' was not declared. Should it be static?

vim +/rpl_s_cfg +613 drivers/edac/ie31200_edac.c

   612	
 > 613	struct res_config rpl_s_cfg = {
   614		.mtype				= MEM_DDR5,
   615		.imc_num			= 2,
   616		.reg_mchbar_mask		= GENMASK_ULL(41, 17),
   617		.reg_mchbar_window_size		= BIT_ULL(16),
   618		.reg_eccerrlog_offset[0]	= 0xe048,
   619		.reg_eccerrlog_offset[1]	= 0xe848,
   620		.reg_eccerrlog_ce_mask		= BIT_ULL(0),
   621		.reg_eccerrlog_ce_ovfl_mask	= BIT_ULL(1),
   622		.reg_eccerrlog_ue_mask		= BIT_ULL(2),
   623		.reg_eccerrlog_ue_ovfl_mask	= BIT_ULL(3),
   624		.reg_eccerrlog_rank_mask	= GENMASK_ULL(28, 27),
   625		.reg_eccerrlog_syndrome_mask	= GENMASK_ULL(23, 16),
   626		.msr_clear_eccerrlog_offset	= 0x791,
   627		.reg_mad_dimm_offset[0]		= 0xd80c,
   628		.reg_mad_dimm_offset[1]		= 0xd810,
   629		.reg_mad_dimm_size_granularity	= BIT_ULL(29),
   630		.reg_mad_dimm_size_mask[0]	= GENMASK(6, 0),
   631		.reg_mad_dimm_size_mask[1]	= GENMASK(22, 16),
   632		.reg_mad_dimm_rank_mask[0]	= GENMASK(10, 9),
   633		.reg_mad_dimm_rank_mask[1]	= GENMASK(27, 26),
   634		.reg_mad_dimm_width_mask[0]	= GENMASK(8, 7),
   635		.reg_mad_dimm_width_mask[1]	= GENMASK(25, 24),
   636	};
   637	

-- 
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2026-03-26  4:24 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-03-26  4:23 drivers/edac/ie31200_edac.c:613:19: sparse: sparse: symbol 'rpl_s_cfg' was not declared. Should it be static? kernel test robot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®