Messages in this thread | | | Date | Sun, 26 Feb 2023 03:14:32 +0800 | From | kernel test robot <> | Subject | drivers/i2c/busses/i2c-xiic.c:994:39: warning: 'xiic_2_00' defined but not used |
| |
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 7c3dc440b1f5c75f45e24430f913e561dc82a419 commit: 2fd5cf352efa0c62dd20d1e046bc8767395b1ec0 i2c: xiic: Switch to Xiic standard mode for i2c-read date: 3 weeks ago config: i386-randconfig-a001 (https://download.01.org/0day-ci/archive/20230226/202302260317.PpagiXGe-lkp@intel.com/config) compiler: gcc-11 (Debian 11.3.0-8) 11.3.0 reproduce (this is a W=1 build): # https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=2fd5cf352efa0c62dd20d1e046bc8767395b1ec0 git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git git fetch --no-tags linus master git checkout 2fd5cf352efa0c62dd20d1e046bc8767395b1ec0 # save the config file mkdir build_dir && cp config build_dir/.config make W=1 O=build_dir ARCH=i386 olddefconfig make W=1 O=build_dir ARCH=i386 SHELL=/bin/bash drivers/i2c/busses/
If you fix the issue, kindly add following tag where applicable | Reported-by: kernel test robot <lkp@intel.com> | Link: https://lore.kernel.org/oe-kbuild-all/202302260317.PpagiXGe-lkp@intel.com/
All warnings (new ones prefixed by >>):
>> drivers/i2c/busses/i2c-xiic.c:994:39: warning: 'xiic_2_00' defined but not used [-Wunused-const-variable=] 994 | static const struct xiic_version_data xiic_2_00 = { | ^~~~~~~~~
vim +/xiic_2_00 +994 drivers/i2c/busses/i2c-xiic.c
993 > 994 static const struct xiic_version_data xiic_2_00 = { 995 .quirks = DYNAMIC_MODE_READ_BROKEN_BIT, 996 }; 997
-- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests
| |