lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Date:   Tue, 18 Aug 2020 19:54:21 +0800
From:   kernel test robot <lkp@...el.com>
To:     Mauro Carvalho Chehab <mchehab@...nel.org>
Cc:     kbuild-all@...ts.01.org, clang-built-linux@...glegroups.com,
        linux-kernel@...r.kernel.org, linux-media@...r.kernel.org
Subject: drivers/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:   06a4ec1d9dc652e17ee3ac2ceb6c7cf6c2b75cdd
commit: df823a8208c434eee6e4e9aa016c956d0968e2e2 media: cec: rename CEC platform drivers config options
date:   4 months ago
config: x86_64-randconfig-r006-20200818 (attached as .config)
compiler: clang version 12.0.0 (https://github.com/llvm/llvm-project 790878f291fa5dc58a1c560cb6cc76fd1bfd1c5a)
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 x86_64 cross compiling tool for clang build
        # apt-get install binutils-x86-64-linux-gnu
        git checkout df823a8208c434eee6e4e9aa016c956d0968e2e2
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=x86_64 

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@...el.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.

# 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
vim +/tegra_cec_of_match +455 drivers/media/cec/platform/tegra/tegra_cec.c

9d2d60687c9a06 drivers/media/platform/tegra-cec/tegra_cec.c Hans Verkuil 2017-07-15  454  
9d2d60687c9a06 drivers/media/platform/tegra-cec/tegra_cec.c Hans Verkuil 2017-07-15 @455  static const struct of_device_id tegra_cec_of_match[] = {
9d2d60687c9a06 drivers/media/platform/tegra-cec/tegra_cec.c Hans Verkuil 2017-07-15  456  	{ .compatible = "nvidia,tegra114-cec", },
9d2d60687c9a06 drivers/media/platform/tegra-cec/tegra_cec.c Hans Verkuil 2017-07-15  457  	{ .compatible = "nvidia,tegra124-cec", },
9d2d60687c9a06 drivers/media/platform/tegra-cec/tegra_cec.c Hans Verkuil 2017-07-15  458  	{ .compatible = "nvidia,tegra210-cec", },
9d2d60687c9a06 drivers/media/platform/tegra-cec/tegra_cec.c Hans Verkuil 2017-07-15  459  	{},
9d2d60687c9a06 drivers/media/platform/tegra-cec/tegra_cec.c Hans Verkuil 2017-07-15  460  };
9d2d60687c9a06 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@...co.com>
:::::: CC: Mauro Carvalho Chehab <mchehab@....samsung.com>

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

Download attachment ".config.gz" of type "application/gzip" (42379 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ