drivers/media/cec/platform/meson/ao-cec.c:713:34: warning: unused variable 'meson_ao_cec_of_match'

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxx>

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@xxxxxxxxxxxx>
:::::: CC: Mauro Carvalho Chehab <mchehab@xxxxxxxxxxxxxxxx>

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

Attachment: .config.gz
Description: application/gzip


[Index of Archives]     [Linux Input]     [Video for Linux]     [Gstreamer Embedded]     [Mplayer Users]     [Linux USB Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]

  Powered by Linux