Hi Astrid, kernel test robot noticed the following build warnings: [auto build test WARNING on jic23-iio/togreg] [also build test WARNING on linus/master v6.4-rc2 next-20230517] [If your patch is applied to the wrong git tree, kindly drop us a note. And when submitting patch, we suggest to use '--base' as documented in https://git-scm.com/docs/git-format-patch#_base_tree_information] url: https://github.com/intel-lab-lkp/linux/commits/Astrid-Rost/iio-light-vcnl4000-Add-proximity-irq-for-vcnl4200/20230517-232128 base: https://git.kernel.org/pub/scm/linux/kernel/git/jic23/iio.git togreg patch link: https://lore.kernel.org/r/20230517151406.368219-4-astrid.rost%40axis.com patch subject: [PATCH v3 3/7] iio: light: vcnl4000: Add als_it for vcnl4040/4200 config: x86_64-randconfig-m001 compiler: gcc-11 (Debian 11.3.0-12) 11.3.0 reproduce (this is a W=1 build): # https://github.com/intel-lab-lkp/linux/commit/6690abdffa2ff9c821df9fbb431ca47f44a90d56 git remote add linux-review https://github.com/intel-lab-lkp/linux git fetch --no-tags linux-review Astrid-Rost/iio-light-vcnl4000-Add-proximity-irq-for-vcnl4200/20230517-232128 git checkout 6690abdffa2ff9c821df9fbb431ca47f44a90d56 # save the config file mkdir build_dir && cp config build_dir/.config make W=1 O=build_dir ARCH=x86_64 olddefconfig make W=1 O=build_dir ARCH=x86_64 SHELL=/bin/bash drivers/iio/light/ If you fix the issue, kindly add following tag where applicable | Reported-by: kernel test robot | Closes: https://lore.kernel.org/oe-kbuild-all/202305180418.LbyAaRCt-lkp@intel.com/ All warnings (new ones prefixed by >>): >> drivers/iio/light/vcnl4000.c:137:18: warning: 'vcnl4040_als_it_times' defined but not used [-Wunused-const-variable=] 137 | static const int vcnl4040_als_it_times[][2] = { | ^~~~~~~~~~~~~~~~~~~~~ vim +/vcnl4040_als_it_times +137 drivers/iio/light/vcnl4000.c 136 > 137 static const int vcnl4040_als_it_times[][2] = { 138 {0, 80000}, 139 {0, 160000}, 140 {0, 320000}, 141 {0, 640000}, 142 }; 143 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki