Re: [PATCH 1/2] media: i2c: Add AR0233 camera sensor driver

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Alexander,

kernel test robot noticed the following build warnings:

[auto build test WARNING on media-tree/master]
[also build test WARNING on linuxtv-media-stage/master sailus-media-tree/master linus/master v6.12-rc2 next-20241010]
[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/Alexander-Shiyan/media-dt-bindings-media-i2c-Add-AR0233-camera-sensor/20241009-164953
base:   git://linuxtv.org/media_tree.git master
patch link:    https://lore.kernel.org/r/20241009084304.14143-1-eagle.alexander923%40gmail.com
patch subject: [PATCH 1/2] media: i2c: Add AR0233 camera sensor driver
config: parisc-randconfig-r054-20241011 (https://download.01.org/0day-ci/archive/20241011/202410110858.GqIZkCMe-lkp@xxxxxxxxx/config)
compiler: hppa-linux-gcc (GCC) 14.1.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20241011/202410110858.GqIZkCMe-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/202410110858.GqIZkCMe-lkp@xxxxxxxxx/

All warnings (new ones prefixed by >>):

   drivers/media/i2c/ar0233.c: In function 'ar0233_s_ctrl':
   drivers/media/i2c/ar0233.c:428:42: warning: variable 'format' set but not used [-Wunused-but-set-variable]
     428 |         const struct v4l2_mbus_framefmt *format;
         |                                          ^~~~~~
   drivers/media/i2c/ar0233.c: At top level:
>> drivers/media/i2c/ar0233.c:1159:34: warning: 'ar0233_of_match' defined but not used [-Wunused-const-variable=]
    1159 | static const struct of_device_id ar0233_of_match[] = {
         |                                  ^~~~~~~~~~~~~~~


vim +/ar0233_of_match +1159 drivers/media/i2c/ar0233.c

  1158	
> 1159	static const struct of_device_id ar0233_of_match[] = {
  1160		{ .compatible = "onnn,ar0233" },
  1161		{ }
  1162	};
  1163	MODULE_DEVICE_TABLE(of, ar0233_of_match);
  1164	

-- 
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki




[Index of Archives]     [Device Tree Compilter]     [Device Tree Spec]     [Linux Driver Backports]     [Video for Linux]     [Linux USB Devel]     [Linux PCI Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Yosemite Backpacking]


  Powered by Linux