[<prev] [next>] [day] [month] [year] [list]
Message-ID: <202601170753.3zDBerGP-lkp@intel.com>
Date: Sat, 17 Jan 2026 07:11:02 +0800
From: kernel test robot <lkp@...el.com>
To: Binbin Zhou <zhoubinbin@...ngson.cn>
Cc: oe-kbuild-all@...ts.linux.dev, linux-kernel@...r.kernel.org,
Corey Minyard <corey@...yard.net>, Chong Qiao <qiaochong@...ngson.cn>,
Huacai Chen <chenhuacai@...ngson.cn>
Subject: drivers/char/ipmi/ipmi_si_ls2k.c:171:24: sparse: sparse:
symbol 'ipmi_ls2k_platform_driver' was not declared. Should it be static?
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@...el.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
Powered by blists - more mailing lists