Re: [PATCH v1 2/2] media: i2c: add Sony IMX111 CMOS camera sensor driver

From: kernel test robot
Date: Thu Aug 21 2025 - 10:58:39 EST


Hi Svyatoslav,

kernel test robot noticed the following build warnings:

[auto build test WARNING on robh/for-next]
[also build test WARNING on linuxtv-media-pending/master krzk-dt/for-next linus/master v6.17-rc2 next-20250821]
[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/Svyatoslav-Ryhel/dt-bindings-media-i2c-document-Sony-IMX111-CMOS-sensor/20250819-200757
base: https://git.kernel.org/pub/scm/linux/kernel/git/robh/linux.git for-next
patch link: https://lore.kernel.org/r/20250819120428.83437-3-clamor95%40gmail.com
patch subject: [PATCH v1 2/2] media: i2c: add Sony IMX111 CMOS camera sensor driver
config: x86_64-randconfig-074-20250821 (https://download.01.org/0day-ci/archive/20250821/202508212225.vjOOcDtc-lkp@xxxxxxxxx/config)
compiler: clang version 20.1.8 (https://github.com/llvm/llvm-project 87f0227cb60147a26a1eeb4fb06e3b505e9c7261)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20250821/202508212225.vjOOcDtc-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/202508212225.vjOOcDtc-lkp@xxxxxxxxx/

All warnings (new ones prefixed by >>):

>> drivers/media/i2c/imx111.c:1596:34: warning: unused variable 'imx111_of_match' [-Wunused-const-variable]
1596 | static const struct of_device_id imx111_of_match[] = {
| ^~~~~~~~~~~~~~~
1 warning generated.


vim +/imx111_of_match +1596 drivers/media/i2c/imx111.c

1595
> 1596 static const struct of_device_id imx111_of_match[] = {
1597 { .compatible = "sony,imx111", },
1598 { /* sentinel */ }
1599 };
1600 MODULE_DEVICE_TABLE(of, imx111_of_match);
1601

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