Re: [PATCH] media: Add t4ka3 camera sensor driver

From: kernel test robot
Date: Thu Oct 03 2024 - 06:22:36 EST


Hi Kate,

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-rc1 next-20241003]
[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/Kate-Hsuan/media-Add-t4ka3-camera-sensor-driver/20241002-173303
base: git://linuxtv.org/media_tree.git master
patch link: https://lore.kernel.org/r/20241002093037.50875-1-hpa%40redhat.com
patch subject: [PATCH] media: Add t4ka3 camera sensor driver
config: alpha-allyesconfig (https://download.01.org/0day-ci/archive/20241003/202410031806.jxxP1Fch-lkp@xxxxxxxxx/config)
compiler: alpha-linux-gcc (GCC) 13.3.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20241003/202410031806.jxxP1Fch-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/202410031806.jxxP1Fch-lkp@xxxxxxxxx/

All warnings (new ones prefixed by >>):

>> drivers/media/i2c/t4ka3.c:1099:30: warning: 't4ka3_acpi_match' defined but not used [-Wunused-variable]
1099 | static struct acpi_device_id t4ka3_acpi_match[] = {
| ^~~~~~~~~~~~~~~~


vim +/t4ka3_acpi_match +1099 drivers/media/i2c/t4ka3.c

1098
> 1099 static struct acpi_device_id t4ka3_acpi_match[] = {
1100 { "XMCC0003" },
1101 {},
1102 };
1103 MODULE_DEVICE_TABLE(acpi, t4ka3_acpi_match);
1104

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