* drivers/i2c/busses/i2c-owl.c:477:34: warning: 'owl_i2c_of_match' defined but not used
@ 2022-07-24 1:34 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2022-07-24 1:34 UTC (permalink / raw)
To: Manivannan Sadhasivam; +Cc: kbuild-all, linux-kernel, Wolfram Sang
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: 515f71412bb73ebd7f41f90e1684fc80b8730789
commit: d211e62af46693f90f6386085817e22239e3fe79 i2c: Add Actions Semiconductor Owl family S900 I2C driver
date: 4 years ago
config: i386-buildonly-randconfig-r004-20220718 (https://download.01.org/0day-ci/archive/20220724/202207240951.fYqgIbOg-lkp@intel.com/config)
compiler: gcc-11 (Debian 11.3.0-3) 11.3.0
reproduce (this is a W=1 build):
# https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=d211e62af46693f90f6386085817e22239e3fe79
git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
git fetch --no-tags linus master
git checkout d211e62af46693f90f6386085817e22239e3fe79
# save the config file
mkdir build_dir && cp config build_dir/.config
make W=1 O=build_dir ARCH=i386 SHELL=/bin/bash drivers/i2c/busses/ drivers/mailbox/ drivers/soc/qcom/
If you fix the issue, kindly add following tag where applicable
Reported-by: kernel test robot <lkp@intel.com>
All warnings (new ones prefixed by >>):
>> drivers/i2c/busses/i2c-owl.c:477:34: warning: 'owl_i2c_of_match' defined but not used [-Wunused-const-variable=]
477 | static const struct of_device_id owl_i2c_of_match[] = {
| ^~~~~~~~~~~~~~~~
vim +/owl_i2c_of_match +477 drivers/i2c/busses/i2c-owl.c
476
> 477 static const struct of_device_id owl_i2c_of_match[] = {
478 { .compatible = "actions,s900-i2c" },
479 { /* sentinel */ }
480 };
481 MODULE_DEVICE_TABLE(of, owl_i2c_of_match);
482
--
0-DAY CI Kernel Test Service
https://01.org/lkp
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2022-07-24 1:35 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-07-24 1:34 drivers/i2c/busses/i2c-owl.c:477:34: warning: 'owl_i2c_of_match' 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®