[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <202501260605.Ad7sJxQM-lkp@intel.com>
Date: Sun, 26 Jan 2025 06:44:14 +0800
From: kernel test robot <lkp@...el.com>
To: Cedric Encarnacion <cedricjustine.encarnacion@...log.com>,
Rob Herring <robh@...nel.org>,
Krzysztof Kozlowski <krzk@...nel.org>,
Conor Dooley <conor+dt@...nel.org>,
Jean Delvare <jdelvare@...e.com>,
Guenter Roeck <linux@...ck-us.net>,
Jonathan Corbet <corbet@....net>,
Delphine CC Chiu <Delphine_CC_Chiu@...ynn.com>
Cc: oe-kbuild-all@...ts.linux.dev, devicetree@...r.kernel.org,
linux-kernel@...r.kernel.org, linux-hwmon@...r.kernel.org,
linux-doc@...r.kernel.org, linux-i2c@...r.kernel.org,
Cedric Encarnacion <cedricjustine.encarnacion@...log.com>
Subject: Re: [PATCH 2/2] hwmon: (pmbus/lt3074): add support for lt3074
Hi Cedric,
kernel test robot noticed the following build warnings:
[auto build test WARNING on a76539b293677c5c163b9285b0cd8dd420d33989]
url: https://github.com/intel-lab-lkp/linux/commits/Cedric-Encarnacion/dt-bindings-trivial-devices-add-lt3074/20250124-234209
base: a76539b293677c5c163b9285b0cd8dd420d33989
patch link: https://lore.kernel.org/r/20250124-upstream-lt3074-v1-2-7603f346433e%40analog.com
patch subject: [PATCH 2/2] hwmon: (pmbus/lt3074): add support for lt3074
config: hexagon-randconfig-r073-20250126 (https://download.01.org/0day-ci/archive/20250126/202501260605.Ad7sJxQM-lkp@intel.com/config)
compiler: clang version 20.0.0git (https://github.com/llvm/llvm-project 19306351a2c45e266fa11b41eb1362b20b6ca56d)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20250126/202501260605.Ad7sJxQM-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@...el.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202501260605.Ad7sJxQM-lkp@intel.com/
All warnings (new ones prefixed by >>):
In file included from drivers/hwmon/pmbus/lt3074.c:8:
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/pmbus/lt3074.c:103:34: warning: unused variable 'lt3074_of_match' [-Wunused-const-variable]
103 | static const struct of_device_id lt3074_of_match[] = {
| ^~~~~~~~~~~~~~~
2 warnings generated.
vim +/lt3074_of_match +103 drivers/hwmon/pmbus/lt3074.c
102
> 103 static const struct of_device_id lt3074_of_match[] = {
104 { .compatible = "adi,lt3074" },
105 {}
106 };
107 MODULE_DEVICE_TABLE(of, lt3074_of_match);
108
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
Powered by blists - more mailing lists