lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Message-ID: <202202140655.BClq5vSX-lkp@intel.com>
Date:   Mon, 14 Feb 2022 06:53:16 +0800
From:   kernel test robot <lkp@...el.com>
To:     Hans de Goede <hdegoede@...hat.com>
Cc:     kbuild-all@...ts.01.org, linux-kernel@...r.kernel.org,
        Jonathan Cameron <Jonathan.Cameron@...wei.com>
Subject: [jic23-iio:testing 87/92] drivers/iio/accel/mma8452.c:1515:34:
 error: 'mma8452_dt_ids' defined but not used

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@...el.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@...teo.de>
:::::: CC: Jonathan Cameron <jic23@...nel.org>

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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ