Messages in this thread | | | Date | Wed, 1 Jun 2022 11:21:14 +0800 | From | kernel test robot <> | Subject | [hverkuil-media-tree:hdmi-dbg 19/22] drivers/media/i2c/cat24c208.c:415:34: warning: unused variable 'cat24c208_of_match' |
| |
tree: git://linuxtv.org/hverkuil/media_tree.git hdmi-dbg head: fd8fe971a032c4dbc6e8b955f946d710d86fa856 commit: 5778f4cf22e6d23d9881fb9121714cc7216b181c [19/22] cat24c208: driver for the cat24c208 EDID EEPROM config: hexagon-randconfig-r032-20220531 (https://download.01.org/0day-ci/archive/20220601/202206011127.bbncUkYc-lkp@intel.com/config) compiler: clang version 15.0.0 (https://github.com/llvm/llvm-project c825abd6b0198fb088d9752f556a70705bc99dfd) 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 git remote add hverkuil-media-tree git://linuxtv.org/hverkuil/media_tree.git git fetch --no-tags hverkuil-media-tree hdmi-dbg git checkout 5778f4cf22e6d23d9881fb9121714cc7216b181c # save the config file mkdir build_dir && cp config build_dir/.config COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=hexagon SHELL=/bin/bash drivers/media/i2c/
If you fix the issue, kindly add following tag where applicable Reported-by: kernel test robot <lkp@intel.com>
All warnings (new ones prefixed by >>):
>> drivers/media/i2c/cat24c208.c:415:34: warning: unused variable 'cat24c208_of_match' [-Wunused-const-variable] static const struct of_device_id cat24c208_of_match[] = { ^ 1 warning generated.
vim +/cat24c208_of_match +415 drivers/media/i2c/cat24c208.c
414 > 415 static const struct of_device_id cat24c208_of_match[] = { 416 { .compatible = "onsemi,cat24c208"}, 417 {} 418 }; 419 MODULE_DEVICE_TABLE(of, cat24c208_of_match); 420
-- 0-DAY CI Kernel Test Service https://01.org/lkp
| |