All of lore.kernel.org
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
Cc: oe-kbuild-all@lists.linux.dev, vigneshr@ti.com, nm@ti.com,
	Udit Kumar <u-kumar1@ti.com>, Andrew Davis <afd@ti.com>,
	Hari Nagalla <hnagalla@ti.com>
Subject: [ti:ti-linux-6.6.y-wip 32/46] drivers/mailbox/omap-mailbox.c:635:34: warning: 'omap_mailbox_of_match' defined but not used
Date: Sat, 10 Aug 2024 05:19:34 +0800	[thread overview]
Message-ID: <202408100529.viKFbTRf-lkp@intel.com> (raw)

tree:   git://git.ti.com/ti-linux-kernel/ti-linux-kernel.git ti-linux-6.6.y-wip
head:   d80245c38ed4432878e5fe309f6ba958fd2c2e8f
commit: acc3573ed94e855c69e7bec2855bc05caebc829d [32/46] remoteproc: k3-m4: Add a remoteproc driver for M4F subsystem
config: alpha-randconfig-r061-20240809 (https://download.01.org/0day-ci/archive/20240810/202408100529.viKFbTRf-lkp@intel.com/config)
compiler: alpha-linux-gcc (GCC) 13.3.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240810/202408100529.viKFbTRf-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/202408100529.viKFbTRf-lkp@intel.com/

All warnings (new ones prefixed by >>):

>> drivers/mailbox/omap-mailbox.c:635:34: warning: 'omap_mailbox_of_match' defined but not used [-Wunused-const-variable=]
     635 | static const struct of_device_id omap_mailbox_of_match[] = {
         |                                  ^~~~~~~~~~~~~~~~~~~~~

Kconfig warnings: (for reference only)
   WARNING: unmet direct dependencies detected for OMAP2PLUS_MBOX
   Depends on [n]: MAILBOX [=y] && (ARCH_OMAP2PLUS || ARCH_K3)
   Selected by [y]:
   - TI_K3_M4_REMOTEPROC [=y] && REMOTEPROC [=y] && (ARCH_K3 || COMPILE_TEST [=y])


vim +/omap_mailbox_of_match +635 drivers/mailbox/omap-mailbox.c

ea2ec1e80f78e5 Suman Anna 2018-07-11  634  
75288cc66dc478 Suman Anna 2014-09-10 @635  static const struct of_device_id omap_mailbox_of_match[] = {
75288cc66dc478 Suman Anna 2014-09-10  636  	{
75288cc66dc478 Suman Anna 2014-09-10  637  		.compatible	= "ti,omap2-mailbox",
ea2ec1e80f78e5 Suman Anna 2018-07-11  638  		.data		= &omap2_data,
75288cc66dc478 Suman Anna 2014-09-10  639  	},
75288cc66dc478 Suman Anna 2014-09-10  640  	{
75288cc66dc478 Suman Anna 2014-09-10  641  		.compatible	= "ti,omap3-mailbox",
ea2ec1e80f78e5 Suman Anna 2018-07-11  642  		.data		= &omap2_data,
75288cc66dc478 Suman Anna 2014-09-10  643  	},
75288cc66dc478 Suman Anna 2014-09-10  644  	{
75288cc66dc478 Suman Anna 2014-09-10  645  		.compatible	= "ti,omap4-mailbox",
ea2ec1e80f78e5 Suman Anna 2018-07-11  646  		.data		= &omap4_data,
75288cc66dc478 Suman Anna 2014-09-10  647  	},
9c1f2a5dc2948b Suman Anna 2019-06-04  648  	{
9c1f2a5dc2948b Suman Anna 2019-06-04  649  		.compatible	= "ti,am654-mailbox",
9c1f2a5dc2948b Suman Anna 2019-06-04  650  		.data		= &omap4_data,
9c1f2a5dc2948b Suman Anna 2019-06-04  651  	},
595be654b0c23b Suman Anna 2021-02-09  652  	{
595be654b0c23b Suman Anna 2021-02-09  653  		.compatible	= "ti,am64-mailbox",
595be654b0c23b Suman Anna 2021-02-09  654  		.data		= &omap4_data,
595be654b0c23b Suman Anna 2021-02-09  655  	},
75288cc66dc478 Suman Anna 2014-09-10  656  	{
75288cc66dc478 Suman Anna 2014-09-10  657  		/* end */
75288cc66dc478 Suman Anna 2014-09-10  658  	},
75288cc66dc478 Suman Anna 2014-09-10  659  };
75288cc66dc478 Suman Anna 2014-09-10  660  MODULE_DEVICE_TABLE(of, omap_mailbox_of_match);
75288cc66dc478 Suman Anna 2014-09-10  661  

:::::: The code at line 635 was first introduced by commit
:::::: 75288cc66dc478b32e43970dd6913396526504ae mailbox/omap: add support for parsing dt devices

:::::: TO: Suman Anna <s-anna@ti.com>
:::::: CC: Tony Lindgren <tony@atomide.com>

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

                 reply	other threads:[~2024-08-09 21:20 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=202408100529.viKFbTRf-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=afd@ti.com \
    --cc=hnagalla@ti.com \
    --cc=nm@ti.com \
    --cc=oe-kbuild-all@lists.linux.dev \
    --cc=u-kumar1@ti.com \
    --cc=vigneshr@ti.com \
    /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.