From: kernel test robot <lkp@intel.com>
To: Mike Looijmans <mike.looijmans@topic.nl>
Cc: kbuild-all@lists.01.org, linux-kernel@vger.kernel.org,
Sebastian Reichel <sebastian.reichel@collabora.com>
Subject: drivers/power/supply/ltc4162-l-charger.c:912:34: warning: 'ltc4162l_of_match' defined but not used
Date: Thu, 12 May 2022 13:26:09 +0800 [thread overview]
Message-ID: <202205121341.cUtTcrOF-lkp@intel.com> (raw)
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: feb9c5e19e913b53cb536a7aa7c9f20107bb51ec
commit: cd900f181ad6b548a8feded5dd224f789f09b1c6 power/supply: Add ltc4162-l-charger
date: 1 year, 4 months ago
config: x86_64-randconfig-a013 (https://download.01.org/0day-ci/archive/20220512/202205121341.cUtTcrOF-lkp@intel.com/config)
compiler: gcc-11 (Debian 11.2.0-20) 11.2.0
reproduce (this is a W=1 build):
# https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=cd900f181ad6b548a8feded5dd224f789f09b1c6
git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
git fetch --no-tags linus master
git checkout cd900f181ad6b548a8feded5dd224f789f09b1c6
# save the config file
mkdir build_dir && cp config build_dir/.config
make W=1 O=build_dir ARCH=x86_64 SHELL=/bin/bash
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>
All warnings (new ones prefixed by >>):
>> drivers/power/supply/ltc4162-l-charger.c:912:34: warning: 'ltc4162l_of_match' defined but not used [-Wunused-const-variable=]
912 | static const struct of_device_id ltc4162l_of_match[] = {
| ^~~~~~~~~~~~~~~~~
vim +/ltc4162l_of_match +912 drivers/power/supply/ltc4162-l-charger.c
911
> 912 static const struct of_device_id ltc4162l_of_match[] = {
913 { .compatible = "lltc,ltc4162-l", },
914 { },
915 };
916 MODULE_DEVICE_TABLE(of, ltc4162l_of_match);
917
--
0-DAY CI Kernel Test Service
https://01.org/lkp
reply other threads:[~2022-05-12 5:26 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=202205121341.cUtTcrOF-lkp@intel.com \
--to=lkp@intel.com \
--cc=kbuild-all@lists.01.org \
--cc=linux-kernel@vger.kernel.org \
--cc=mike.looijmans@topic.nl \
--cc=sebastian.reichel@collabora.com \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.