Linux Hardware Monitor development
 help / color / mirror / Atom feed
* drivers/hwmon/pmbus/pmbus_core.c:3507:33: sparse: sparse: symbol 'pmbus_debugfs_block_data' was not declared. Should it be static?
@ 2025-02-04 20:24 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2025-02-04 20:24 UTC (permalink / raw)
  To: Guenter Roeck; +Cc: oe-kbuild-all, linux-hwmon

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/groeck/linux-staging.git testing
head:   67b0f0fb646de244e59420a373c93a9deb2c60b5
commit: 9fac9564cf8a1da1d26a555355cb92b517444b1e hwmon: (pmbus/core) Optimize debugfs block data attribute initialization
date:   25 hours ago
config: csky-randconfig-r132-20250205 (https://download.01.org/0day-ci/archive/20250205/202502050447.CA5dAMMU-lkp@intel.com/config)
compiler: csky-linux-gcc (GCC) 14.2.0
reproduce: (https://download.01.org/0day-ci/archive/20250205/202502050447.CA5dAMMU-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/202502050447.CA5dAMMU-lkp@intel.com/

sparse warnings: (new ones prefixed by >>)
>> drivers/hwmon/pmbus/pmbus_core.c:3507:33: sparse: sparse: symbol 'pmbus_debugfs_block_data' was not declared. Should it be static?

vim +/pmbus_debugfs_block_data +3507 drivers/hwmon/pmbus/pmbus_core.c

  3506	
> 3507	const struct pmbus_debugfs_data pmbus_debugfs_block_data[] = {
  3508		{ .reg = PMBUS_MFR_ID, .name = "mfr_id" },
  3509		{ .reg = PMBUS_MFR_MODEL, .name = "mfr_model" },
  3510		{ .reg = PMBUS_MFR_REVISION, .name = "mfr_revision" },
  3511		{ .reg = PMBUS_MFR_LOCATION, .name = "mfr_location" },
  3512		{ .reg = PMBUS_MFR_DATE, .name = "mfr_date" },
  3513		{ .reg = PMBUS_MFR_SERIAL, .name = "mfr_serial" },
  3514	};
  3515	

-- 
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:[~2025-02-04 20:24 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-02-04 20:24 drivers/hwmon/pmbus/pmbus_core.c:3507:33: sparse: sparse: symbol 'pmbus_debugfs_block_data' 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