From: kernel test robot <lkp@intel.com>
To: Peter Yin <peteryin.openbmc@gmail.com>
Cc: oe-kbuild-all@lists.linux.dev,
Linux Memory Management List <linux-mm@kvack.org>,
Guenter Roeck <linux@roeck-us.net>
Subject: [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?
Date: Tue, 30 Apr 2024 18:00:53 +0800 [thread overview]
Message-ID: <202404301738.J71xGyaR-lkp@intel.com> (raw)
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
reply other threads:[~2024-04-30 10:01 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=202404301738.J71xGyaR-lkp@intel.com \
--to=lkp@intel.com \
--cc=linux-mm@kvack.org \
--cc=linux@roeck-us.net \
--cc=oe-kbuild-all@lists.linux.dev \
--cc=peteryin.openbmc@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox