* [linux-next:master 8736/9709] drivers/hwmon/pmbus/xdp710.c:20:11: sparse: sparse: symbol 'micro_ohm_rsense' was not declared. Should it be static?
@ 2024-04-30 10:00 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2024-04-30 10:00 UTC (permalink / raw)
To: Peter Yin; +Cc: oe-kbuild-all, Linux Memory Management List, Guenter Roeck
tree: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master
head: d04466706db5e241ee026f17b5f920e50dee26b5
commit: edf18a3ef6df1ad1be19143d0ee7d7324eb7b74e [8736/9709] hwmon: (pmbus) Add support for Infineon XDP710
config: arc-randconfig-r121-20240430 (https://download.01.org/0day-ci/archive/20240430/202404301738.J71xGyaR-lkp@intel.com/config)
compiler: arceb-elf-gcc (GCC) 13.2.0
reproduce: (https://download.01.org/0day-ci/archive/20240430/202404301738.J71xGyaR-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/202404301738.J71xGyaR-lkp@intel.com/
sparse warnings: (new ones prefixed by >>)
>> drivers/hwmon/pmbus/xdp710.c:20:11: sparse: sparse: symbol 'micro_ohm_rsense' was not declared. Should it be static?
vim +/micro_ohm_rsense +20 drivers/hwmon/pmbus/xdp710.c
15
16 /*
17 * The table to map configuration register values
18 * to sense resistor values
19 */
> 20 const int micro_ohm_rsense[] = {
21 200, 250, 300, 330, 400, 470, 500, 600,
22 670, 700, 750, 800, 900, 1000, 1100, 1200,
23 1250, 1300, 1400, 1500, 1600, 1700, 1800, 1900,
24 2000, 2100, 2200, 2300, 2400, 2500, 2600, 2700,
25 2800, 3000, 3100, 3200, 3300, 3400, 3500, 3600,
26 3700, 3800, 3900, 4000, 4100, 4200, 4300, 4400,
27 4500, 4600, 4700, 4800, 4900, 5000, 5500, 6000,
28 6500, 7000, 7500, 8000, 8500, 9000, 9500, 10000
29 };
30
--
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-04-30 10:01 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-04-30 10:00 [linux-next:master 8736/9709] drivers/hwmon/pmbus/xdp710.c:20:11: sparse: sparse: symbol 'micro_ohm_rsense' was not declared. Should it be static? 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;
as well as URLs for NNTP newsgroup(s).