Re: [PATCH v3] hwmon: (max77705) add initial support

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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/20250405-233235
base:   a4cda136f021ad44b8b52286aafd613030a6db5f
patch link:    https://lore.kernel.org/r/20250405-initial-support-for-max77705-sensors-v3-1-e5f64fccd005%40gmail.com
patch subject: [PATCH v3] hwmon: (max77705) add initial support
config: sh-allmodconfig (https://download.01.org/0day-ci/archive/20250406/202504062145.xBDNEwqG-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/20250406/202504062145.xBDNEwqG-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/202504062145.xBDNEwqG-lkp@xxxxxxxxx/

All warnings (new ones prefixed by >>):

>> drivers/hwmon/max77705-hwmon.c:66:35: warning: 'max77705_hwmon_regmap_config' defined but not used [-Wunused-const-variable=]
      66 | static const struct regmap_config max77705_hwmon_regmap_config = {
         |                                   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~


vim +/max77705_hwmon_regmap_config +66 drivers/hwmon/max77705-hwmon.c

    65	
  > 66	static const struct regmap_config max77705_hwmon_regmap_config = {
    67		.name = "max77705_hwmon",
    68		.reg_bits = 8,
    69		.val_bits = 16,
    70		.rd_table = &max77705_hwmon_readable_table,
    71		.max_register = MAX77705_FG_END,
    72		.val_format_endian = REGMAP_ENDIAN_LITTLE
    73	};
    74	

-- 
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki




[Index of Archives]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Linux FS]     [Yosemite Forum]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]     [Linux Resources]

  Powered by Linux