[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <202506210204.LVZc2VG2-lkp@intel.com>
Date: Sat, 21 Jun 2025 02:33:50 +0800
From: kernel test robot <lkp@...el.com>
To: Binbin Zhou <zhoubinbin@...ngson.cn>,
Binbin Zhou <zhoubb.aaron@...il.com>,
Huacai Chen <chenhuacai@...ngson.cn>, Lee Jones <lee@...nel.org>,
Corey Minyard <minyard@....org>
Cc: oe-kbuild-all@...ts.linux.dev, Xuerui Wang <kernel@...0n.name>,
loongarch@...ts.linux.dev, linux-kernel@...r.kernel.org,
openipmi-developer@...ts.sourceforge.net, jeffbai@...c.io,
kexybiscuit@...c.io, wangyao@...ote.com,
Chong Qiao <qiaochong@...ngson.cn>
Subject: Re: [PATCH v5 1/3] mfd: ls2kbmc: Introduce Loongson-2K BMC core
driver
Hi Binbin,
kernel test robot noticed the following build errors:
[auto build test ERROR on 8ffcb7560b4a15faf821df95e3ab532b2b020f8c]
url: https://github.com/intel-lab-lkp/linux/commits/Binbin-Zhou/mfd-ls2kbmc-Introduce-Loongson-2K-BMC-core-driver/20250620-100856
base: 8ffcb7560b4a15faf821df95e3ab532b2b020f8c
patch link: https://lore.kernel.org/r/82cbc8558f15981e0953ab229d2afcc5501f982c.1750301674.git.zhoubinbin%40loongson.cn
patch subject: [PATCH v5 1/3] mfd: ls2kbmc: Introduce Loongson-2K BMC core driver
config: m68k-allyesconfig (https://download.01.org/0day-ci/archive/20250621/202506210204.LVZc2VG2-lkp@intel.com/config)
compiler: m68k-linux-gcc (GCC) 15.1.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20250621/202506210204.LVZc2VG2-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/202506210204.LVZc2VG2-lkp@intel.com/
All error/warnings (new ones prefixed by >>):
>> drivers/mfd/ls2k-bmc-core.c:152:1: warning: data definition has no type or storage class
152 | module_pci_driver(ls2k_bmc_driver);
| ^~~~~~~~~~~~~~~~~
>> drivers/mfd/ls2k-bmc-core.c:152:1: error: type defaults to 'int' in declaration of 'module_pci_driver' [-Wimplicit-int]
>> drivers/mfd/ls2k-bmc-core.c:152:1: error: parameter names (without types) in function declaration [-Wdeclaration-missing-parameter-type]
>> drivers/mfd/ls2k-bmc-core.c:146:26: warning: 'ls2k_bmc_driver' defined but not used [-Wunused-variable]
146 | static struct pci_driver ls2k_bmc_driver = {
| ^~~~~~~~~~~~~~~
vim +152 drivers/mfd/ls2k-bmc-core.c
145
> 146 static struct pci_driver ls2k_bmc_driver = {
147 .name = "ls2k-bmc",
148 .id_table = ls2k_bmc_devices,
149 .probe = ls2k_bmc_probe,
150 .remove = ls2k_bmc_remove,
151 };
> 152 module_pci_driver(ls2k_bmc_driver);
153
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
Powered by blists - more mailing lists