* [linux-next:master 4304/4582] drivers/hwmon/pmbus/mp2975.c:1069:34: warning: 'mp2975_of_match' defined but not used
@ 2024-06-07 8:10 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2024-06-07 8:10 UTC (permalink / raw)
To: Guenter Roeck; +Cc: oe-kbuild-all, Linux Memory Management List
tree: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master
head: d35b2284e966c0bef3e2182a5c5ea02177dd32e4
commit: d62e74bcb173cab374d582014dc1183a09efd25d [4304/4582] hwmon: (pmbus/mp2975) Use i2c_get_match_data() [take 2]
config: x86_64-buildonly-randconfig-002-20240607 (https://download.01.org/0day-ci/archive/20240607/202406071658.Sq9UXHmz-lkp@intel.com/config)
compiler: gcc-13 (Ubuntu 13.2.0-4ubuntu3) 13.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240607/202406071658.Sq9UXHmz-lkp@intel.com/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@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202406071658.Sq9UXHmz-lkp@intel.com/
All warnings (new ones prefixed by >>):
>> drivers/hwmon/pmbus/mp2975.c:1069:34: warning: 'mp2975_of_match' defined but not used [-Wunused-const-variable=]
1069 | static const struct of_device_id mp2975_of_match[] = {
| ^~~~~~~~~~~~~~~
vim +/mp2975_of_match +1069 drivers/hwmon/pmbus/mp2975.c
1068
> 1069 static const struct of_device_id mp2975_of_match[] = {
1070 {.compatible = "mps,mp2971", .data = (void *)mp2971},
1071 {.compatible = "mps,mp2973", .data = (void *)mp2973},
1072 {.compatible = "mps,mp2975", .data = (void *)mp2975},
1073 {}
1074 };
1075 MODULE_DEVICE_TABLE(of, mp2975_of_match);
1076
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2024-06-07 8:11 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-06-07 8:10 [linux-next:master 4304/4582] drivers/hwmon/pmbus/mp2975.c:1069:34: warning: 'mp2975_of_match' defined but not used kernel test robot
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox