lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Message-ID: <202412222349.R7qW7Q2t-lkp@intel.com>
Date: Sun, 22 Dec 2024 23:27:55 +0800
From: kernel test robot <lkp@...el.com>
To: Asmaa Mnebhi <Asmaa@...lanox.com>
Cc: oe-kbuild-all@...ts.linux.dev, linux-kernel@...r.kernel.org,
	Corey Minyard <cminyard@...sta.com>
Subject: drivers/char/ipmi/ipmb_dev_int.c:344:36: warning: 'acpi_ipmb_id'
 defined but not used

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@...el.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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ