[xilinx-xlnx:xlnx_rebase_v5.15_LTS 153/1138] drivers/i2c/busses/i2c-xiic.c:1134:39: warning: 'xiic_2_00' defined but not used

kernel test robot lkp at intel.com
Thu May 12 02:11:08 PDT 2022


tree:   https://github.com/Xilinx/linux-xlnx xlnx_rebase_v5.15_LTS
head:   9ef3be1de28ec61f4dad2b16b1097b7e2270a5a6
commit: 441d1827ed31ab142ec4531999461466c6866f1d [153/1138] i2c: xiic: Switch to Xiic standard mode for i2c-read
config: x86_64-randconfig-a012-20220509 (https://download.01.org/0day-ci/archive/20220512/202205121755.wAtThgk5-lkp@intel.com/config)
compiler: gcc-11 (Debian 11.2.0-20) 11.2.0
reproduce (this is a W=1 build):
        # https://github.com/Xilinx/linux-xlnx/commit/441d1827ed31ab142ec4531999461466c6866f1d
        git remote add xilinx-xlnx https://github.com/Xilinx/linux-xlnx
        git fetch --no-tags xilinx-xlnx xlnx_rebase_v5.15_LTS
        git checkout 441d1827ed31ab142ec4531999461466c6866f1d
        # save the config file
        mkdir build_dir && cp config build_dir/.config
        make W=1 O=build_dir ARCH=x86_64 SHELL=/bin/bash

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp at intel.com>

All warnings (new ones prefixed by >>):

>> drivers/i2c/busses/i2c-xiic.c:1134:39: warning: 'xiic_2_00' defined but not used [-Wunused-const-variable=]
    1134 | static const struct xiic_version_data xiic_2_00 = {
         |                                       ^~~~~~~~~


vim +/xiic_2_00 +1134 drivers/i2c/busses/i2c-xiic.c

  1133	
> 1134	static const struct xiic_version_data xiic_2_00 = {
  1135		.quirks = DYNAMIC_MODE_READ_BROKEN_BIT,
  1136	};
  1137	

-- 
0-DAY CI Kernel Test Service
https://01.org/lkp



More information about the linux-arm-kernel mailing list