mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* drivers/char/ipmi/ipmb_dev_int.c:344:36: warning: 'acpi_ipmb_id' defined but not used
@ 2024-12-22 15:27 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2024-12-22 15:27 UTC (permalink / raw)
  To: Asmaa Mnebhi; +Cc: oe-kbuild-all, linux-kernel, Corey Minyard

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head:   48f506ad0b683d3e7e794efa60c5785c4fdc86fa
commit: 51bd6f291583684f495ea498984dfc22049d7fd2 Add support for IPMB driver
date:   6 years ago
config: sparc-randconfig-001-20241212 (https://download.01.org/0day-ci/archive/20241222/202412222349.R7qW7Q2t-lkp@intel.com/config)
compiler: sparc-linux-gcc (GCC) 12.4.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20241222/202412222349.R7qW7Q2t-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/202412222349.R7qW7Q2t-lkp@intel.com/

All warnings (new ones prefixed by >>):

>> drivers/char/ipmi/ipmb_dev_int.c:344:36: warning: 'acpi_ipmb_id' defined but not used [-Wunused-const-variable=]
     344 | static const struct acpi_device_id acpi_ipmb_id[] = {
         |                                    ^~~~~~~~~~~~


vim +/acpi_ipmb_id +344 drivers/char/ipmi/ipmb_dev_int.c

   343	
 > 344	static const struct acpi_device_id acpi_ipmb_id[] = {
   345		{ "IPMB0001", 0 },
   346		{},
   347	};
   348	MODULE_DEVICE_TABLE(acpi, acpi_ipmb_id);
   349	

-- 
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:[~2024-12-22 15:28 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-12-22 15:27 drivers/char/ipmi/ipmb_dev_int.c:344:36: warning: 'acpi_ipmb_id' defined but not used 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®