All of lore.kernel.org
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: Rob Herring <robh@kernel.org>
Cc: oe-kbuild-all@lists.linux.dev,
	Linux Memory Management List <linux-mm@kvack.org>,
	Wim Van Sebroeck <wim@linux-watchdog.org>,
	Guenter Roeck <linux@roeck-us.net>
Subject: [linux-next:master 8460/11453] drivers/watchdog/stm32_iwdg.c:215:34: warning: 'stm32_iwdg_of_match' defined but not used
Date: Mon, 21 Aug 2023 18:37:15 +0800	[thread overview]
Message-ID: <202308211837.4VBSUAtZ-lkp@intel.com> (raw)

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@intel.com/config)
compiler: hppa-linux-gcc (GCC) 12.3.0
reproduce: (https://download.01.org/0day-ci/archive/20230821/202308211837.4VBSUAtZ-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/202308211837.4VBSUAtZ-lkp@intel.com/

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@st.com>
:::::: CC: Wim Van Sebroeck <wim@linux-watchdog.org>

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

                 reply	other threads:[~2023-08-21 10:37 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=202308211837.4VBSUAtZ-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=linux-mm@kvack.org \
    --cc=linux@roeck-us.net \
    --cc=oe-kbuild-all@lists.linux.dev \
    --cc=robh@kernel.org \
    --cc=wim@linux-watchdog.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.