All of lore.kernel.org
 help / color / mirror / Atom feed
* [robh:for-kernelci 1/2] drivers/watchdog/stm32_iwdg.c:216:34: warning: 'stm32_iwdg_of_match' defined but not used
@ 2023-07-27  5:30 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2023-07-27  5:30 UTC (permalink / raw)
  To: Rob Herring; +Cc: oe-kbuild-all

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/robh/linux.git for-kernelci
head:   683789ff1e1c0a9373ca20daed4bbc700eccc22e
commit: 11b42f6418bd440f99d1816557a31cc529645b6a [1/2] watchdog: Enable more drivers for COMPILE_TEST
config: i386-buildonly-randconfig-r005-20230726 (https://download.01.org/0day-ci/archive/20230727/202307271330.LwupRBXB-lkp@intel.com/config)
compiler: gcc-12 (Debian 12.2.0-14) 12.2.0
reproduce: (https://download.01.org/0day-ci/archive/20230727/202307271330.LwupRBXB-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/202307271330.LwupRBXB-lkp@intel.com/

All warnings (new ones prefixed by >>):

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


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

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

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

:::::: TO: Ludovic Barre <ludovic.barre@st.com>
:::::: CC: Wim Van Sebroeck <wim@linux-watchdog.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-07-27  5:31 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-07-27  5:30 [robh:for-kernelci 1/2] drivers/watchdog/stm32_iwdg.c:216:34: warning: 'stm32_iwdg_of_match' defined but not used kernel test robot

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.