Re: [PATCH v4] hwmon: (max77705) add initial support
From: kernel test robot
Date: Tue Apr 15 2025 - 04:10:37 EST
Hi Dzmitry,
kernel test robot noticed the following build warnings:
[auto build test WARNING on a4cda136f021ad44b8b52286aafd613030a6db5f]
url: https://github.com/intel-lab-lkp/linux/commits/Dzmitry-Sankouski/hwmon-max77705-add-initial-support/20250414-123556
base: a4cda136f021ad44b8b52286aafd613030a6db5f
patch link: https://lore.kernel.org/r/20250412-initial-support-for-max77705-sensors-v4-1-2e4cf268a3d0%40gmail.com
patch subject: [PATCH v4] hwmon: (max77705) add initial support
config: sh-allmodconfig (https://download.01.org/0day-ci/archive/20250415/202504151506.IwAzrT7r-lkp@xxxxxxxxx/config)
compiler: sh4-linux-gcc (GCC) 14.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20250415/202504151506.IwAzrT7r-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/202504151506.IwAzrT7r-lkp@xxxxxxxxx/
All warnings (new ones prefixed by >>):
>> drivers/hwmon/max77705-hwmon.c:59:41: warning: 'max77705_hwmon_readable_table' defined but not used [-Wunused-const-variable=]
59 | static const struct regmap_access_table max77705_hwmon_readable_table = {
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
vim +/max77705_hwmon_readable_table +59 drivers/hwmon/max77705-hwmon.c
58
> 59 static const struct regmap_access_table max77705_hwmon_readable_table = {
60 .yes_ranges = max77705_hwmon_readable_ranges,
61 .n_yes_ranges = ARRAY_SIZE(max77705_hwmon_readable_ranges),
62 };
63
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki