public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* drivers/rtc/rtc-rx6110.c:384:34: warning: 'rx6110_spi_of_match' defined but not used
@ 2022-05-10  0:13 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2022-05-10  0:13 UTC (permalink / raw)
  To: Daniel Gomez; +Cc: kbuild-all, linux-kernel, Alexandre Belloni

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head:   9be9ed2612b5aedb52a2c240edb1630b6b743cb6
commit: f9bf089a70aab6baac745843b44c152084848f5e rtc: rx6110: declare missing of table
date:   3 years ago
config: i386-randconfig-r026-20220509 (https://download.01.org/0day-ci/archive/20220510/202205100826.fdvQ2tpG-lkp@intel.com/config)
compiler: gcc-11 (Debian 11.2.0-20) 11.2.0
reproduce (this is a W=1 build):
        # https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=f9bf089a70aab6baac745843b44c152084848f5e
        git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
        git fetch --no-tags linus master
        git checkout f9bf089a70aab6baac745843b44c152084848f5e
        # save the config file
        mkdir build_dir && cp config build_dir/.config
        make W=1 O=build_dir ARCH=i386 SHELL=/bin/bash drivers/crypto/ drivers/rtc/

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

All warnings (new ones prefixed by >>):

>> drivers/rtc/rtc-rx6110.c:384:34: warning: 'rx6110_spi_of_match' defined but not used [-Wunused-const-variable=]
     384 | static const struct of_device_id rx6110_spi_of_match[] = {
         |                                  ^~~~~~~~~~~~~~~~~~~


vim +/rx6110_spi_of_match +384 drivers/rtc/rtc-rx6110.c

   383	
 > 384	static const struct of_device_id rx6110_spi_of_match[] = {
   385		{ .compatible = "epson,rx6110" },
   386		{ },
   387	};
   388	MODULE_DEVICE_TABLE(of, rx6110_spi_of_match);
   389	

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

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

only message in thread, other threads:[~2022-05-10  0:14 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-05-10  0:13 drivers/rtc/rtc-rx6110.c:384:34: warning: 'rx6110_spi_of_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