mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: Asmaa Mnebhi <Asmaa@mellanox.com>
Cc: oe-kbuild-all@lists.linux.dev, linux-kernel@vger.kernel.org,
	Corey Minyard <cminyard@mvista.com>
Subject: drivers/char/ipmi/ipmb_dev_int.c:344:36: warning: 'acpi_ipmb_id' defined but not used
Date: Sun, 22 Dec 2024 23:27:55 +0800	[thread overview]
Message-ID: <202412222349.R7qW7Q2t-lkp@intel.com> (raw)

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

                 reply	other threads:[~2024-12-22 15:28 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=202412222349.R7qW7Q2t-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=Asmaa@mellanox.com \
    --cc=cminyard@mvista.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=oe-kbuild-all@lists.linux.dev \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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®