* drivers/media/cec/platform/meson/ao-cec.c:713:34: warning: unused variable 'meson_ao_cec_of_match'
@ 2020-07-22 23:19 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2020-07-22 23:19 UTC (permalink / raw)
To: Mauro Carvalho Chehab
Cc: kbuild-all, clang-built-linux, linux-kernel, linux-media
[-- Attachment #1: Type: text/plain, Size: 2620 bytes --]
Hi Mauro,
First bad commit (maybe != root cause):
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: 8c26c87b05323a7ccdc632820b85253e0bf47fd9
commit: df823a8208c434eee6e4e9aa016c956d0968e2e2 media: cec: rename CEC platform drivers config options
date: 3 months ago
config: x86_64-randconfig-a012-20200723 (attached as .config)
compiler: clang version 12.0.0 (https://github.com/llvm/llvm-project 3d9967039d4191b77f939ddc6c6ff4275df620c2)
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@intel.com>
All warnings (new ones prefixed by >>):
>> drivers/media/cec/platform/meson/ao-cec.c:713:34: warning: unused variable 'meson_ao_cec_of_match' [-Wunused-const-variable]
static const struct of_device_id meson_ao_cec_of_match[] = {
^
1 warning generated.
vim +/meson_ao_cec_of_match +713 drivers/media/cec/platform/meson/ao-cec.c
7ec2c0f72cb119 drivers/media/platform/meson/ao-cec.c Neil Armstrong 2017-07-27 712
7ec2c0f72cb119 drivers/media/platform/meson/ao-cec.c Neil Armstrong 2017-07-27 @713 static const struct of_device_id meson_ao_cec_of_match[] = {
7ec2c0f72cb119 drivers/media/platform/meson/ao-cec.c Neil Armstrong 2017-07-27 714 { .compatible = "amlogic,meson-gx-ao-cec", },
7ec2c0f72cb119 drivers/media/platform/meson/ao-cec.c Neil Armstrong 2017-07-27 715 { /* sentinel */ }
7ec2c0f72cb119 drivers/media/platform/meson/ao-cec.c Neil Armstrong 2017-07-27 716 };
7ec2c0f72cb119 drivers/media/platform/meson/ao-cec.c Neil Armstrong 2017-07-27 717 MODULE_DEVICE_TABLE(of, meson_ao_cec_of_match);
7ec2c0f72cb119 drivers/media/platform/meson/ao-cec.c Neil Armstrong 2017-07-27 718
:::::: The code at line 713 was first introduced by commit
:::::: 7ec2c0f72cb1199c97d92b97b4bfc9978a0ea791 media: platform: Add Amlogic Meson AO CEC Controller driver
:::::: TO: Neil Armstrong <narmstrong@baylibre.com>
:::::: CC: Mauro Carvalho Chehab <mchehab@s-opensource.com>
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 36023 bytes --]
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2020-07-22 23:25 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-07-22 23:19 drivers/media/cec/platform/meson/ao-cec.c:713:34: warning: unused variable 'meson_ao_cec_of_match' kernel test robot
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).