lkml.org 
[lkml]   [2021]   [Nov]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
Subjectdrivers/media/cec/platform/tegra/tegra_cec.c:455:34: warning: unused variable 'tegra_cec_of_match'
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

\
 
 \ /
  Last update: 2021-11-24 05:21    [W:0.026 / U:0.064 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site