public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: Mauro Carvalho Chehab <mchehab@kernel.org>
Cc: llvm@lists.linux.dev, kbuild-all@lists.01.org,
	linux-kernel@vger.kernel.org, linux-media@vger.kernel.org
Subject: drivers/media/cec/platform/tegra/tegra_cec.c:455:34: warning: unused variable 'tegra_cec_of_match'
Date: Wed, 24 Nov 2021 12:19:30 +0800	[thread overview]
Message-ID: <202111241201.cGFgCj9J-lkp@intel.com> (raw)

Hi Mauro,

First bad commit (maybe != root cause):

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head:   5d9f4cf36721aba199975a9be7863a3ff5cd4b59
commit: df823a8208c434eee6e4e9aa016c956d0968e2e2 media: cec: rename CEC platform drivers config options
date:   1 year, 7 months ago
config: arm-randconfig-c002-20211123 (https://download.01.org/0day-ci/archive/20211124/202111241201.cGFgCj9J-lkp@intel.com/config.gz)
compiler: clang version 14.0.0 (https://github.com/llvm/llvm-project 49e3838145dff1ec91c2e67a2cb562775c8d2a08)
reproduce (this is a W=1 build):
        wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        # install arm cross compiling tool for clang build
        # apt-get install binutils-arm-linux-gnueabi
        # https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=df823a8208c434eee6e4e9aa016c956d0968e2e2
        git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
        git fetch --no-tags linus master
        git checkout df823a8208c434eee6e4e9aa016c956d0968e2e2
        # save the config file to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross 

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/cec/platform/tegra/tegra_cec.c:455:34: warning: unused variable 'tegra_cec_of_match' [-Wunused-const-variable]
   static const struct of_device_id tegra_cec_of_match[] = {
                                    ^
   1 warning generated.


vim +/tegra_cec_of_match +455 drivers/media/cec/platform/tegra/tegra_cec.c

9d2d60687c9a062 drivers/media/platform/tegra-cec/tegra_cec.c Hans Verkuil 2017-07-15  454  
9d2d60687c9a062 drivers/media/platform/tegra-cec/tegra_cec.c Hans Verkuil 2017-07-15 @455  static const struct of_device_id tegra_cec_of_match[] = {
9d2d60687c9a062 drivers/media/platform/tegra-cec/tegra_cec.c Hans Verkuil 2017-07-15  456  	{ .compatible = "nvidia,tegra114-cec", },
9d2d60687c9a062 drivers/media/platform/tegra-cec/tegra_cec.c Hans Verkuil 2017-07-15  457  	{ .compatible = "nvidia,tegra124-cec", },
9d2d60687c9a062 drivers/media/platform/tegra-cec/tegra_cec.c Hans Verkuil 2017-07-15  458  	{ .compatible = "nvidia,tegra210-cec", },
9d2d60687c9a062 drivers/media/platform/tegra-cec/tegra_cec.c Hans Verkuil 2017-07-15  459  	{},
9d2d60687c9a062 drivers/media/platform/tegra-cec/tegra_cec.c Hans Verkuil 2017-07-15  460  };
9d2d60687c9a062 drivers/media/platform/tegra-cec/tegra_cec.c Hans Verkuil 2017-07-15  461  

:::::: The code at line 455 was first introduced by commit
:::::: 9d2d60687c9a0621e0da40338be4cbd7e3783be2 media: tegra-cec: add Tegra HDMI CEC driver

:::::: TO: Hans Verkuil <hans.verkuil@cisco.com>
:::::: CC: Mauro Carvalho Chehab <mchehab@osg.samsung.com>

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org

             reply	other threads:[~2021-11-24  4:20 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-11-24  4:19 kernel test robot [this message]
  -- strict thread matches above, loose matches on Subject: below --
2020-08-18 11:54 drivers/media/cec/platform/tegra/tegra_cec.c:455:34: warning: unused variable 'tegra_cec_of_match' kernel test robot

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=202111241201.cGFgCj9J-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=llvm@lists.linux.dev \
    --cc=mchehab@kernel.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox