linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [jic23-iio:testing 87/92] drivers/iio/accel/mma8452.c:1515:34: error: 'mma8452_dt_ids' defined but not used
@ 2022-02-13 22:53 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2022-02-13 22:53 UTC (permalink / raw)
  To: Hans de Goede; +Cc: kbuild-all, linux-kernel, Jonathan Cameron

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/jic23/iio.git testing
head:   a383b88d051c387eac8cd12b636e5c177e39cf0e
commit: 90adc57bd55a64d5b24ac3afc1b7dd98508ead7b [87/92] iio: mma8452: Fix probe failing when an i2c_device_id is used
config: arm-randconfig-r025-20220213 (https://download.01.org/0day-ci/archive/20220214/202202140655.BClq5vSX-lkp@intel.com/config)
compiler: arm-linux-gnueabi-gcc (GCC) 11.2.0
reproduce (this is a W=1 build):
        wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        # https://git.kernel.org/pub/scm/linux/kernel/git/jic23/iio.git/commit/?id=90adc57bd55a64d5b24ac3afc1b7dd98508ead7b
        git remote add jic23-iio https://git.kernel.org/pub/scm/linux/kernel/git/jic23/iio.git
        git fetch --no-tags jic23-iio testing
        git checkout 90adc57bd55a64d5b24ac3afc1b7dd98508ead7b
        # save the config file to linux build tree
        mkdir build_dir
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross O=build_dir ARCH=arm SHELL=/bin/bash drivers/iio/accel/

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>

All errors (new ones prefixed by >>):

>> drivers/iio/accel/mma8452.c:1515:34: error: 'mma8452_dt_ids' defined but not used [-Werror=unused-const-variable=]
    1515 | static const struct of_device_id mma8452_dt_ids[] = {
         |                                  ^~~~~~~~~~~~~~
   cc1: all warnings being treated as errors


vim +/mma8452_dt_ids +1515 drivers/iio/accel/mma8452.c

ecabae71319695 Martin Fuzzey     2015-05-13  1514  
c3cdd6e48e35b7 Martin Kepplinger 2015-09-01 @1515  static const struct of_device_id mma8452_dt_ids[] = {
244a93f651937a Martin Kepplinger 2016-01-16  1516  	{ .compatible = "fsl,mma8451", .data = &mma_chip_info_table[mma8451] },
c3cdd6e48e35b7 Martin Kepplinger 2015-09-01  1517  	{ .compatible = "fsl,mma8452", .data = &mma_chip_info_table[mma8452] },
c5ea1b58e8f51d Martin Kepplinger 2015-09-01  1518  	{ .compatible = "fsl,mma8453", .data = &mma_chip_info_table[mma8453] },
417e008ba9db7c Martin Kepplinger 2015-09-01  1519  	{ .compatible = "fsl,mma8652", .data = &mma_chip_info_table[mma8652] },
417e008ba9db7c Martin Kepplinger 2015-09-01  1520  	{ .compatible = "fsl,mma8653", .data = &mma_chip_info_table[mma8653] },
e8731180fbf6fd Martin Kepplinger 2016-03-09  1521  	{ .compatible = "fsl,fxls8471", .data = &mma_chip_info_table[fxls8471] },
c3cdd6e48e35b7 Martin Kepplinger 2015-09-01  1522  	{ }
c3cdd6e48e35b7 Martin Kepplinger 2015-09-01  1523  };
c3cdd6e48e35b7 Martin Kepplinger 2015-09-01  1524  MODULE_DEVICE_TABLE(of, mma8452_dt_ids);
c3cdd6e48e35b7 Martin Kepplinger 2015-09-01  1525  

:::::: The code at line 1515 was first introduced by commit
:::::: c3cdd6e48e35b7a02f28e301ef30a87ff3cd6527 iio: mma8452: refactor for seperating chip specific data

:::::: TO: Martin Kepplinger <martink@posteo.de>
:::::: CC: Jonathan Cameron <jic23@kernel.org>

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2022-02-13 22:54 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-02-13 22:53 [jic23-iio:testing 87/92] drivers/iio/accel/mma8452.c:1515:34: error: 'mma8452_dt_ids' 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;
as well as URLs for NNTP newsgroup(s).