public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: Stefan Agner <stefan@agner.ch>
Cc: kbuild-all@lists.01.org, linux-kernel@vger.kernel.org,
	Mauro Carvalho Chehab <mchehab@kernel.org>,
	linux-media@vger.kernel.org
Subject: drivers/media/dvb-frontends/mn88443x.c:772:34: warning: 'mn88443x_of_match' defined but not used
Date: Thu, 12 May 2022 22:06:17 +0800	[thread overview]
Message-ID: <202205122148.yhQVSpac-lkp@intel.com> (raw)

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head:   feb9c5e19e913b53cb536a7aa7c9f20107bb51ec
commit: 8169cf0a02caafd87ee33e66c12f7a35606a6b0c media: Kconfig: allow to select drivers if EMBEDDED
date:   3 years ago
config: i386-randconfig-a001 (https://download.01.org/0day-ci/archive/20220512/202205122148.yhQVSpac-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=8169cf0a02caafd87ee33e66c12f7a35606a6b0c
        git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
        git fetch --no-tags linus master
        git checkout 8169cf0a02caafd87ee33e66c12f7a35606a6b0c
        # save the config file
        mkdir build_dir && cp config build_dir/.config
        make W=1 O=build_dir ARCH=i386 SHELL=/bin/bash drivers/media/dvb-frontends/

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/media/dvb-frontends/mn88443x.c:772:34: warning: 'mn88443x_of_match' defined but not used [-Wunused-const-variable=]
     772 | static const struct of_device_id mn88443x_of_match[] = {
         |                                  ^~~~~~~~~~~~~~~~~


vim +/mn88443x_of_match +772 drivers/media/dvb-frontends/mn88443x.c

0f408ce8941fcb Katsuhiro Suzuki 2018-07-23  771  
0f408ce8941fcb Katsuhiro Suzuki 2018-07-23 @772  static const struct of_device_id mn88443x_of_match[] = {
0f408ce8941fcb Katsuhiro Suzuki 2018-07-23  773  	{ .compatible = "socionext,mn884433",   .data = &mn88443x_spec_pri, },
0f408ce8941fcb Katsuhiro Suzuki 2018-07-23  774  	{ .compatible = "socionext,mn884434-0", .data = &mn88443x_spec_pri, },
0f408ce8941fcb Katsuhiro Suzuki 2018-07-23  775  	{ .compatible = "socionext,mn884434-1", .data = &mn88443x_spec_sec, },
0f408ce8941fcb Katsuhiro Suzuki 2018-07-23  776  	{}
0f408ce8941fcb Katsuhiro Suzuki 2018-07-23  777  };
0f408ce8941fcb Katsuhiro Suzuki 2018-07-23  778  MODULE_DEVICE_TABLE(of, mn88443x_of_match);
0f408ce8941fcb Katsuhiro Suzuki 2018-07-23  779  

:::::: The code at line 772 was first introduced by commit
:::::: 0f408ce8941fcb1b6e8431272cfc9337a0407d73 media: dvb-frontends: add Socionext MN88443x ISDB-S/T demodulator driver

:::::: TO: Katsuhiro Suzuki <suzuki.katsuhiro@socionext.com>
:::::: CC: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>

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

                 reply	other threads:[~2022-05-12 14:06 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=202205122148.yhQVSpac-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=kbuild-all@lists.01.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-media@vger.kernel.org \
    --cc=mchehab@kernel.org \
    --cc=stefan@agner.ch \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox