Building the Linux kernel with Clang and LLVM
 help / color / mirror / Atom feed
* Re: [PATCH v5] hwmon: (max77705) add initial support
       [not found] <20250419-initial-support-for-max77705-sensors-v5-1-4504a9b48ba1@gmail.com>
@ 2025-04-20 14:35 ` kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2025-04-20 14:35 UTC (permalink / raw)
  To: Dzmitry Sankouski, Jean Delvare, Guenter Roeck, Jonathan Corbet,
	Chanwoo Choi, Krzysztof Kozlowski
  Cc: llvm, oe-kbuild-all, linux-hwmon, linux-doc, linux-kernel,
	Dzmitry Sankouski

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/20250420-030631
base:   a4cda136f021ad44b8b52286aafd613030a6db5f
patch link:    https://lore.kernel.org/r/20250419-initial-support-for-max77705-sensors-v5-1-4504a9b48ba1%40gmail.com
patch subject: [PATCH v5] hwmon: (max77705) add initial support
config: s390-allmodconfig (https://download.01.org/0day-ci/archive/20250420/202504202204.GCyy3bOc-lkp@intel.com/config)
compiler: clang version 18.1.8 (https://github.com/llvm/llvm-project 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20250420/202504202204.GCyy3bOc-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/202504202204.GCyy3bOc-lkp@intel.com/

All warnings (new ones prefixed by >>):

>> drivers/hwmon/max77705-hwmon.c:51:34: warning: unused variable 'max77705_hwmon_readable_ranges' [-Wunused-const-variable]
      51 | static const struct regmap_range max77705_hwmon_readable_ranges[] = {
         |                                  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   1 warning generated.


vim +/max77705_hwmon_readable_ranges +51 drivers/hwmon/max77705-hwmon.c

    50	
  > 51	static const struct regmap_range max77705_hwmon_readable_ranges[] = {
    52		regmap_reg_range(AVGISYS_REG,	AVGISYS_REG + 1),
    53		regmap_reg_range(IIN_REG,	IIN_REG + 1),
    54		regmap_reg_range(ISYS_REG,	ISYS_REG + 1),
    55		regmap_reg_range(VBYP_REG,	VBYP_REG + 1),
    56		regmap_reg_range(VSYS_REG,	VSYS_REG + 1),
    57	};
    58	

-- 
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-04-20 14:36 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <20250419-initial-support-for-max77705-sensors-v5-1-4504a9b48ba1@gmail.com>
2025-04-20 14:35 ` [PATCH v5] hwmon: (max77705) add initial support 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