tree:
https://github.com/intel/linux-intel-lts.git 5.15/linux
head: 719d8431f0cc54f9e54ee62dfd2f5354a6f879f7
commit: 0d5b79d80af57838bdb57ee7ad6d49d29c24e56d [10/62] media: kmb-lens: Add Keem Bay
camera lens
config: alpha-allyesconfig
(
https://download.01.org/0day-ci/archive/20220121/202201212032.lveet90a-lk...)
compiler: alpha-linux-gcc (GCC) 11.2.0
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
#
https://github.com/intel/linux-intel-lts/commit/0d5b79d80af57838bdb57ee7a...
git remote add intel-lts
https://github.com/intel/linux-intel-lts.git
git fetch --no-tags intel-lts 5.15/linux
git checkout 0d5b79d80af57838bdb57ee7ad6d49d29c24e56d
# save the config file to linux build tree
mkdir build_dir
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross O=build_dir
ARCH=alpha SHELL=/bin/bash drivers/media/i2c/
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
All warnings (new ones prefixed by >>):
drivers/media/i2c/kmb-lens.c: In function 'kmb_lens_move_iris':
> drivers/media/i2c/kmb-lens.c:212:13: warning: variable
'new_pos' set but not used [-Wunused-but-set-variable]
212 |
u32 new_pos;
| ^~~~~~~
vim +/new_pos +212 drivers/media/i2c/kmb-lens.c
207
208 static void kmb_lens_move_iris(struct work_struct *work)
209 {
210 struct kmb_lens *kmb_lens = container_of(work, struct kmb_lens,
211 work_iris);
212 u32 new_pos;
213
214 mutex_lock(&kmb_lens->lock);
215 new_pos = kmb_lens->iris_new_pos;
216 mutex_unlock(&kmb_lens->lock);
217
218 kmb_iris_control(kmb_lens, kmb_lens->iris_new_pos);
219 }
220
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org