From: kernel test robot <lkp@intel.com>
To: Mathieu Othacehe <m.othacehe@gmail.com>
Cc: oe-kbuild-all@lists.linux.dev, linux-kernel@vger.kernel.org,
Jonathan Cameron <Jonathan.Cameron@huawei.com>
Subject: drivers/iio/proximity/isl29501.c:1009:34: warning: 'isl29501_i2c_matches' defined but not used
Date: Mon, 6 Nov 2023 04:06:55 +0800 [thread overview]
Message-ID: <202311060413.MoUX2fHF-lkp@intel.com> (raw)
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: 77fa2fbe87fc605c4bfa87dff87be9bfded0e9a3
commit: 1c28799257bca28cd5ba715e33157500d6239333 iio: light: isl29501: Add support for the ISL29501 ToF sensor.
date: 5 years ago
config: x86_64-randconfig-r025-20230725 (https://download.01.org/0day-ci/archive/20231106/202311060413.MoUX2fHF-lkp@intel.com/config)
compiler: gcc-12 (Debian 12.2.0-14) 12.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20231106/202311060413.MoUX2fHF-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/202311060413.MoUX2fHF-lkp@intel.com/
All warnings (new ones prefixed by >>):
>> drivers/iio/proximity/isl29501.c:1009:34: warning: 'isl29501_i2c_matches' defined but not used [-Wunused-const-variable=]
1009 | static const struct of_device_id isl29501_i2c_matches[] = {
| ^~~~~~~~~~~~~~~~~~~~
vim +/isl29501_i2c_matches +1009 drivers/iio/proximity/isl29501.c
1007
1008 #if defined(CONFIG_OF)
> 1009 static const struct of_device_id isl29501_i2c_matches[] = {
1010 { .compatible = "renesas,isl29501" },
1011 { }
1012 };
1013 MODULE_DEVICE_TABLE(of, isl29501_i2c_matches);
1014 #endif
1015
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
reply other threads:[~2023-11-05 20:08 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=202311060413.MoUX2fHF-lkp@intel.com \
--to=lkp@intel.com \
--cc=Jonathan.Cameron@huawei.com \
--cc=linux-kernel@vger.kernel.org \
--cc=m.othacehe@gmail.com \
--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