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]
Date:   Sun, 5 Nov 2023 14:02:29 +0800
From:   kernel test robot <lkp@...el.com>
To:     Axel Lin <axel.lin@...ics.com>
Cc:     oe-kbuild-all@...ts.linux.dev, linux-kernel@...r.kernel.org,
        Mark Brown <broonie@...nel.org>
Subject: drivers/spi/spi-rockchip.c:891:34: warning: 'rockchip_spi_dt_match'
 defined but not used

Hi Axel,

FYI, the error/warning was bisected to this commit, please ignore it if it's irrelevant.

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head:   aea6bf908d730b01bd264a8821159db9463c111c
commit: 46cb41534a1a1d1f75aae5eab0dd8c06a9461e6b spi: Drop unnecessary dependencies on relaxed I/O accessors
date:   8 years ago
config: i386-buildonly-randconfig-005-20231101 (https://download.01.org/0day-ci/archive/20231105/202311051312.XPufwrD5-lkp@intel.com/config)
compiler: gcc-12 (Debian 12.2.0-14) 12.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20231105/202311051312.XPufwrD5-lkp@intel.com/reproduce)

If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp@...el.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202311051312.XPufwrD5-lkp@intel.com/

All warnings (new ones prefixed by >>):

>> drivers/spi/spi-rockchip.c:891:34: warning: 'rockchip_spi_dt_match' defined but not used [-Wunused-const-variable=]
     891 | static const struct of_device_id rockchip_spi_dt_match[] = {
         |                                  ^~~~~~~~~~~~~~~~~~~~~


vim +/rockchip_spi_dt_match +891 drivers/spi/spi-rockchip.c

64e36824b32b06 addy ke    2014-07-01  890  
64e36824b32b06 addy ke    2014-07-01 @891  static const struct of_device_id rockchip_spi_dt_match[] = {
64e36824b32b06 addy ke    2014-07-01  892  	{ .compatible = "rockchip,rk3066-spi", },
b839b785182497 Addy Ke    2014-07-11  893  	{ .compatible = "rockchip,rk3188-spi", },
b839b785182497 Addy Ke    2014-07-11  894  	{ .compatible = "rockchip,rk3288-spi", },
9b7a56221590ca Xu Jianqun 2016-02-18  895  	{ .compatible = "rockchip,rk3399-spi", },
64e36824b32b06 addy ke    2014-07-01  896  	{ },
64e36824b32b06 addy ke    2014-07-01  897  };
64e36824b32b06 addy ke    2014-07-01  898  MODULE_DEVICE_TABLE(of, rockchip_spi_dt_match);
64e36824b32b06 addy ke    2014-07-01  899  

:::::: The code at line 891 was first introduced by commit
:::::: 64e36824b32b061a9537dc2e026977806f75846f spi/rockchip: add driver for Rockchip RK3xxx SoCs integrated SPI

:::::: TO: addy ke <addy.ke@...k-chips.com>
:::::: CC: Mark Brown <broonie@...aro.org>

-- 
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki

Powered by blists - more mailing lists