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 for Android: free password hash cracker in your pocket
[<prev] [next>] [day] [month] [year] [list]
Message-ID: <202206120003.GMmufF0x-lkp@intel.com>
Date:   Sun, 12 Jun 2022 00:43:23 +0800
From:   kernel test robot <lkp@...el.com>
To:     Nuno Sá <nuno.sa@...log.com>
Cc:     kbuild-all@...ts.01.org, linux-kernel@...r.kernel.org,
        Jonathan Cameron <Jonathan.Cameron@...wei.com>,
        Andy Shevchenko <andy.shevchenko@...il.com>
Subject: [jic23-iio:testing 199/199]
 drivers/iio/adc/intel_mrfld_adc.c:222:40: warning: 'mrfld_adc_id_table'
 defined but not used

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/jic23/iio.git testing
head:   8e3460e351d063ba81c3f50ed946dd825848d892
commit: 8e3460e351d063ba81c3f50ed946dd825848d892 [199/199] iio: core: drop of.h from iio.h
config: x86_64-allyesconfig (https://download.01.org/0day-ci/archive/20220612/202206120003.GMmufF0x-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/jic23/iio.git/commit/?id=8e3460e351d063ba81c3f50ed946dd825848d892
        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 8e3460e351d063ba81c3f50ed946dd825848d892
        # save the config file
        mkdir build_dir && cp config build_dir/.config
        make W=1 O=build_dir ARCH=x86_64 SHELL=/bin/bash drivers/iio/adc/

If you fix the issue, kindly add following tag where applicable
Reported-by: kernel test robot <lkp@...el.com>

All warnings (new ones prefixed by >>):

   drivers/iio/adc/intel_mrfld_adc.c:222:40: error: array type has incomplete element type 'struct platform_device_id'
     222 | static const struct platform_device_id mrfld_adc_id_table[] = {
         |                                        ^~~~~~~~~~~~~~~~~~
>> drivers/iio/adc/intel_mrfld_adc.c:222:40: warning: 'mrfld_adc_id_table' defined but not used [-Wunused-variable]


vim +/mrfld_adc_id_table +222 drivers/iio/adc/intel_mrfld_adc.c

a7118662734a3f9 Vincent Pelletier 2019-03-26  221  
a7118662734a3f9 Vincent Pelletier 2019-03-26 @222  static const struct platform_device_id mrfld_adc_id_table[] = {
a7118662734a3f9 Vincent Pelletier 2019-03-26  223  	{ .name = "mrfld_bcove_adc" },
a7118662734a3f9 Vincent Pelletier 2019-03-26  224  	{}
a7118662734a3f9 Vincent Pelletier 2019-03-26  225  };
a7118662734a3f9 Vincent Pelletier 2019-03-26  226  MODULE_DEVICE_TABLE(platform, mrfld_adc_id_table);
a7118662734a3f9 Vincent Pelletier 2019-03-26  227  

:::::: The code at line 222 was first introduced by commit
:::::: a7118662734a3f97622d8274708cb61fd53d693a iio: adc: intel_mrfld_adc: Add Basin Cove ADC driver

:::::: TO: Vincent Pelletier <plr.vincent@...il.com>
:::::: CC: Jonathan Cameron <Jonathan.Cameron@...wei.com>

-- 
0-DAY CI Kernel Test Service
https://01.org/lkp

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ