[linux-next:master 8460/11453] drivers/watchdog/stm32_iwdg.c:215:34: warning: 'stm32_iwdg_of_match' defined but not used

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



tree:   https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master
head:   47d9bb711707d15b19fad18c8e2b4b027a264a3a
commit: f1a43aadb5a690e141a3b6700e2a40c1d4dbe088 [8460/11453] watchdog: Enable COMPILE_TEST for more drivers
config: parisc-randconfig-r036-20230821 (https://download.01.org/0day-ci/archive/20230821/202308211837.4VBSUAtZ-lkp@xxxxxxxxx/config)
compiler: hppa-linux-gcc (GCC) 12.3.0
reproduce: (https://download.01.org/0day-ci/archive/20230821/202308211837.4VBSUAtZ-lkp@xxxxxxxxx/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@xxxxxxxxx>
| Closes: https://lore.kernel.org/oe-kbuild-all/202308211837.4VBSUAtZ-lkp@xxxxxxxxx/

All warnings (new ones prefixed by >>):

>> drivers/watchdog/stm32_iwdg.c:215:34: warning: 'stm32_iwdg_of_match' defined but not used [-Wunused-const-variable=]
     215 | static const struct of_device_id stm32_iwdg_of_match[] = {
         |                                  ^~~~~~~~~~~~~~~~~~~


vim +/stm32_iwdg_of_match +215 drivers/watchdog/stm32_iwdg.c

4332d113c66a6e Yannick Fertre 2017-04-06  214  
c2cf466cca87e2 Ludovic Barre  2018-06-25 @215  static const struct of_device_id stm32_iwdg_of_match[] = {
e9974166a53acc Ludovic Barre  2019-05-03  216  	{ .compatible = "st,stm32-iwdg", .data = &stm32_iwdg_data },
e9974166a53acc Ludovic Barre  2019-05-03  217  	{ .compatible = "st,stm32mp1-iwdg", .data = &stm32mp1_iwdg_data },
c2cf466cca87e2 Ludovic Barre  2018-06-25  218  	{ /* end node */ }
c2cf466cca87e2 Ludovic Barre  2018-06-25  219  };
c2cf466cca87e2 Ludovic Barre  2018-06-25  220  MODULE_DEVICE_TABLE(of, stm32_iwdg_of_match);
c2cf466cca87e2 Ludovic Barre  2018-06-25  221  

:::::: The code at line 215 was first introduced by commit
:::::: c2cf466cca87e2072bd6616f751f4c385c2ab71e watchdog: stm32: add pclk feature for stm32mp1

:::::: TO: Ludovic Barre <ludovic.barre@xxxxxx>
:::::: CC: Wim Van Sebroeck <wim@xxxxxxxxxxxxxxxxxx>

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




[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux