Re: [PATCH 3/3] mfd: sie-cronos-cpld: Add driver for SIE cronos CPLD
From: kernel test robot
Date: Wed Oct 04 2023 - 21:13:12 EST
Hi Shawn,
kernel test robot noticed the following build warnings:
[auto build test WARNING on lee-mfd/for-mfd-next]
[also build test WARNING on robh/for-next linus/master v6.6-rc4 next-20231004]
[cannot apply to lee-leds/for-leds-next lee-mfd/for-mfd-fixes]
[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/Shawn-Anastasio/dt-bindings-mfd-sie-cronos-cpld-Add-initial-DT-binding/20231003-073243
base: https://git.kernel.org/pub/scm/linux/kernel/git/lee/mfd.git for-mfd-next
patch link: https://lore.kernel.org/r/2e9763cb4fa258fe11769a4ff1544d96c536a4a2.1696285339.git.sanastasio%40raptorengineering.com
patch subject: [PATCH 3/3] mfd: sie-cronos-cpld: Add driver for SIE cronos CPLD
config: i386-randconfig-063-20231005 (https://download.01.org/0day-ci/archive/20231005/202310050807.eDZkgFy5-lkp@xxxxxxxxx/config)
compiler: gcc-12 (Debian 12.2.0-14) 12.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20231005/202310050807.eDZkgFy5-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/202310050807.eDZkgFy5-lkp@xxxxxxxxx/
All warnings (new ones prefixed by >>):
>> drivers/mfd/sie-cronos-cpld.c:509:34: warning: 'cronos_cpld_dt_ids' defined but not used [-Wunused-const-variable=]
509 | static const struct of_device_id cronos_cpld_dt_ids[] = {
| ^~~~~~~~~~~~~~~~~~
vim +/cronos_cpld_dt_ids +509 drivers/mfd/sie-cronos-cpld.c
508
> 509 static const struct of_device_id cronos_cpld_dt_ids[] = {
510 { .compatible = "sie,cronos-cpld", },
511 { }
512 };
513 MODULE_DEVICE_TABLE(of, cronos_cpld_dt_ids);
514
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki