Hi shravan, Thank you for the patch! Perhaps something to improve: [auto build test WARNING on media-tree/master] [also build test WARNING on linus/master v6.1-rc8 next-20221205] [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/shravan-kumar/media-i2c-imx334-support-lower-bandwidth-mode/20221205-132242 base: git://linuxtv.org/media_tree.git master patch link: https://lore.kernel.org/r/20221205051937.3897001-6-shravan.chippa%40microchip.com patch subject: [PATCH v6 4/5] media: i2c: imx334: support lower bandwidth mode config: i386-randconfig-a002-20221205 compiler: clang version 14.0.6 (https://github.com/llvm/llvm-project f28c006a5895fc0e329fe15fead81e37457cb1d1) 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-lab-lkp/linux/commit/40bcaa9326e82b14f5691eb1d81c4a2d01eca8df git remote add linux-review https://github.com/intel-lab-lkp/linux git fetch --no-tags linux-review shravan-kumar/media-i2c-imx334-support-lower-bandwidth-mode/20221205-132242 git checkout 40bcaa9326e82b14f5691eb1d81c4a2d01eca8df # 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=i386 SHELL=/bin/bash drivers/media/i2c/ If you fix the issue, kindly add following tag where applicable | Reported-by: kernel test robot All warnings (new ones prefixed by >>): >> drivers/media/i2c/imx334.c:767:15: warning: unused variable 'i' [-Wunused-variable] unsigned int i; ^ 1 warning generated. vim +/i +767 drivers/media/i2c/imx334.c 753 754 /** 755 * imx334_enum_frame_size() - Enumerate V4L2 sub-device frame sizes 756 * @sd: pointer to imx334 V4L2 sub-device structure 757 * @sd_state: V4L2 sub-device state 758 * @fsize: V4L2 sub-device size enumeration need to be filled 759 * 760 * Return: 0 if successful, error code otherwise. 761 */ 762 static int imx334_enum_frame_size(struct v4l2_subdev *sd, 763 struct v4l2_subdev_state *sd_state, 764 struct v4l2_subdev_frame_size_enum *fsize) 765 { 766 struct imx334 *imx334 = to_imx334(sd); > 767 unsigned int i; 768 u32 code; 769 770 if (fsize->index >= ARRAY_SIZE(supported_modes)) 771 return -EINVAL; 772 773 mutex_lock(&imx334->mutex); 774 code = imx334_get_format_code(imx334, fsize->code); 775 mutex_unlock(&imx334->mutex); 776 if (fsize->code != code) 777 return -EINVAL; 778 779 fsize->min_width = supported_modes[fsize->index].width; 780 fsize->max_width = fsize->min_width; 781 fsize->min_height = supported_modes[fsize->index].height; 782 fsize->max_height = fsize->min_height; 783 784 return 0; 785 } 786 -- 0-DAY CI Kernel Test Service https://01.org/lkp