lkml.org 
[lkml]   [2022]   [Jul]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
Subjectdrivers/i2c/busses/i2c-owl.c:477:34: warning: 'owl_i2c_of_match' defined but not used
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

\
 
 \ /
  Last update: 2022-07-24 03:36    [W:0.047 / U:0.184 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site