mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* drivers/spi/spi-rockchip.c:891:34: warning: 'rockchip_spi_dt_match' defined but not used
@ 2023-11-05  6:02 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2023-11-05  6:02 UTC (permalink / raw)
  To: Axel Lin; +Cc: oe-kbuild-all, linux-kernel, Mark Brown

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@intel.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@rock-chips.com>
:::::: CC: Mark Brown <broonie@linaro.org>

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

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

only message in thread, other threads:[~2023-11-05  6:04 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-11-05  6:02 drivers/spi/spi-rockchip.c:891:34: warning: 'rockchip_spi_dt_match' 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

all inboxes | Powered by JetHome®