* drivers/char/ipmi/ipmi_si_ls2k.c:171:24: sparse: sparse: symbol 'ipmi_ls2k_platform_driver' was not declared. Should it be static?
@ 2026-01-16 23:11 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2026-01-16 23:11 UTC (permalink / raw)
To: Binbin Zhou
Cc: oe-kbuild-all, linux-kernel, Corey Minyard, Chong Qiao,
Huacai Chen
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: b62ce2547fe8a8ba15857bb974bcad250c5420d6
commit: d46651d4e3c0caab554c4c591c0b6c3b026b1e93 ipmi: Add Loongson-2K BMC support
date: 4 months ago
config: loongarch-randconfig-r112-20260116 (https://download.01.org/0day-ci/archive/20260117/202601170753.3zDBerGP-lkp@intel.com/config)
compiler: loongarch64-linux-gcc (GCC) 15.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260117/202601170753.3zDBerGP-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/202601170753.3zDBerGP-lkp@intel.com/
sparse warnings: (new ones prefixed by >>)
>> drivers/char/ipmi/ipmi_si_ls2k.c:171:24: sparse: sparse: symbol 'ipmi_ls2k_platform_driver' was not declared. Should it be static?
vim +/ipmi_ls2k_platform_driver +171 drivers/char/ipmi/ipmi_si_ls2k.c
170
> 171 struct platform_driver ipmi_ls2k_platform_driver = {
172 .driver = {
173 .name = "ls2k-ipmi-si",
174 },
175 .probe = ipmi_ls2k_probe,
176 .remove = ipmi_ls2k_remove,
177 };
178
--
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-01-16 23:11 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-01-16 23:11 drivers/char/ipmi/ipmi_si_ls2k.c:171:24: sparse: sparse: symbol 'ipmi_ls2k_platform_driver' 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