From: kernel test robot <lkp@intel.com>
Cc: oe-kbuild-all@lists.linux.dev, llvm@lists.linux.dev
Subject: Re: [PATCH 2/2] drivers: hwmon: add driver for max42500
Date: Mon, 23 Dec 2024 07:15:17 +0800 [thread overview]
Message-ID: <202412230626.JsC2Jzh5-lkp@intel.com> (raw)
In-Reply-To: <20241220012003.9568-3-Kent.Libetario@analog.com>
References: <20241220012003.9568-3-Kent.Libetario@analog.com>
TO: Kent Libetario <Kent.Libetario@analog.com>
TO: linux-hwmon@vger.kernel.org
TO: devicetree@vger.kernel.org
TO: linux-kernel@vger.kernel.org
CC: Jean Delvare <jdelvare@suse.com>
CC: Guenter Roeck <linux@roeck-us.net>
CC: Rob Herring <robh@kernel.org>
CC: Krzysztof Kozlowski <krzk@kernel.org>
CC: Conor Dooley <conor+dt@kernel.org>
Hi Kent,
kernel test robot noticed the following build warnings:
[auto build test WARNING on de076198d1e4934c5fc17aa52d5f1884f469ce1a]
url: https://github.com/intel-lab-lkp/linux/commits/Kent-Libetario/dt-bindings-hwmon-add-adi-max42500-yaml/20241220-092728
base: de076198d1e4934c5fc17aa52d5f1884f469ce1a
patch link: https://lore.kernel.org/r/20241220012003.9568-3-Kent.Libetario%40analog.com
patch subject: [PATCH 2/2] drivers: hwmon: add driver for max42500
config: x86_64-randconfig-003-20241223 (https://download.01.org/0day-ci/archive/20241223/202412230626.JsC2Jzh5-lkp@intel.com/config)
compiler: clang version 19.1.3 (https://github.com/llvm/llvm-project ab51eccf88f5321e7c60591c5546b254b6afab99)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20241223/202412230626.JsC2Jzh5-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/202412230626.JsC2Jzh5-lkp@intel.com/
All warnings (new ones prefixed by >>):
In file included from drivers/hwmon/max42500.c:18:
In file included from include/linux/i2c.h:19:
In file included from include/linux/regulator/consumer.h:35:
In file included from include/linux/suspend.h:5:
In file included from include/linux/swap.h:9:
In file included from include/linux/memcontrol.h:21:
In file included from include/linux/mm.h:2223:
include/linux/vmstat.h:518:36: warning: arithmetic between different enumeration types ('enum node_stat_item' and 'enum lru_list') [-Wenum-enum-conversion]
518 | return node_stat_name(NR_LRU_BASE + lru) + 3; // skip "nr_"
| ~~~~~~~~~~~ ^ ~~~
>> drivers/hwmon/max42500.c:201:33: warning: arithmetic between different enumeration types ('enum max42500_vm_input' and 'enum max42500_comp_stat') [-Wenum-enum-conversion]
201 | u8 comp_status[MAX42500_VM_MAX * MAX42500_COMP_STAT_MAX];
| ~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~
2 warnings generated.
vim +201 drivers/hwmon/max42500.c
189
190 struct max42500_state {
191 struct i2c_client *client;
192 struct regmap *regmap;
193 struct max42500_config *config;
194 long pwrup_stamp[MAX42500_VM_MAX];
195 long pwrdn_stamp[MAX42500_VM_MAX];
196 u8 ov_thresh1[MAX42500_VM_MAX - 2];
197 u8 ov_thresh2[MAX42500_VM_MAX - 5];
198 u8 uv_thresh1[MAX42500_VM_MAX - 2];
199 u8 uv_thresh2[MAX42500_VM_MAX - 5];
200 u8 nominal_volt[MAX42500_VM_MAX - 2];
> 201 u8 comp_status[MAX42500_VM_MAX * MAX42500_COMP_STAT_MAX];
202 };
203
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
next reply other threads:[~2024-12-22 23:16 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-12-22 23:15 kernel test robot [this message]
-- strict thread matches above, loose matches on Subject: below --
2024-12-21 22:16 [PATCH 2/2] drivers: hwmon: add driver for max42500 kernel test robot
2024-12-20 1:20 [PATCH 0/2] Add driver for MAX42500 Kent Libetario
2024-12-20 1:20 ` [PATCH 2/2] drivers: hwmon: add driver for max42500 Kent Libetario
2024-12-21 5:01 ` kernel test robot
2024-12-21 18:08 ` Guenter Roeck
2025-03-10 9:05 ` Libetario, Kent
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=202412230626.JsC2Jzh5-lkp@intel.com \
--to=lkp@intel.com \
--cc=llvm@lists.linux.dev \
--cc=oe-kbuild-all@lists.linux.dev \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.