Re: [PATCH 1/2] media: i2c: ov5647: Convert to CCI register access helpers
From: kernel test robot
Date: Fri Dec 26 2025 - 15:41:45 EST
Hi Xiaolei,
kernel test robot noticed the following build warnings:
[auto build test WARNING on sailus-media-tree/master]
[also build test WARNING on linus/master v6.19-rc2 next-20251219]
[cannot apply to sailus-media-tree/streams]
[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/Xiaolei-Wang/media-i2c-ov5647-Convert-to-CCI-register-access-helpers/20251226-115543
base: git://linuxtv.org/sailus/media_tree.git master
patch link: https://lore.kernel.org/r/20251226031311.2068414-2-xiaolei.wang%40windriver.com
patch subject: [PATCH 1/2] media: i2c: ov5647: Convert to CCI register access helpers
config: nios2-allmodconfig (https://download.01.org/0day-ci/archive/20251227/202512270443.nNMHyu7p-lkp@xxxxxxxxx/config)
compiler: nios2-linux-gcc (GCC) 11.5.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20251227/202512270443.nNMHyu7p-lkp@xxxxxxxxx/reproduce)
If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp@xxxxxxxxx>
| Closes: https://lore.kernel.org/oe-kbuild-all/202512270443.nNMHyu7p-lkp@xxxxxxxxx/
All warnings (new ones prefixed by >>):
drivers/media/i2c/ov5647.c: In function 'ov5647_sensor_set_register':
>> drivers/media/i2c/ov5647.c:790:13: warning: unused variable 'ret' [-Wunused-variable]
790 | int ret;
| ^~~
vim +/ret +790 drivers/media/i2c/ov5647.c
785
786 static int ov5647_sensor_set_register(struct v4l2_subdev *sd,
787 const struct v4l2_dbg_register *reg)
788 {
789 struct ov5647 *sensor = to_sensor(sd);
> 790 int ret;
791
792 return cci_write(sensor->regmap, reg->reg & 0xff, reg->val & 0xff, NULL);
793 }
794 #endif
795
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki