From: kernel test robot <lkp@intel.com>
To: Qiuxu Zhuo <qiuxu.zhuo@intel.com>
Cc: oe-kbuild-all@lists.linux.dev, linux-kernel@vger.kernel.org,
Tony Luck <tony.luck@intel.com>
Subject: drivers/edac/ie31200_edac.c:613:19: sparse: sparse: symbol 'rpl_s_cfg' was not declared. Should it be static?
Date: Thu, 26 Mar 2026 12:23:42 +0800 [thread overview]
Message-ID: <202603261217.CJjVkDlZ-lkp@intel.com> (raw)
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
reply other threads:[~2026-03-26 4:24 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=202603261217.CJjVkDlZ-lkp@intel.com \
--to=lkp@intel.com \
--cc=linux-kernel@vger.kernel.org \
--cc=oe-kbuild-all@lists.linux.dev \
--cc=qiuxu.zhuo@intel.com \
--cc=tony.luck@intel.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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®