[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <202411070427.lkz6nVFX-lkp@intel.com>
Date: Thu, 7 Nov 2024 05:11:30 +0800
From: kernel test robot <lkp@...el.com>
To: Alexis Cezar Torreno <alexisczezar.torreno@...log.com>,
linux-doc@...r.kernel.org, linux-kernel@...r.kernel.org,
devicetree@...r.kernel.org, linux-hwmon@...r.kernel.org
Cc: oe-kbuild-all@...ts.linux.dev, Radu Sabau <radu.sabau@...log.com>,
Jean Delvare <jdelvare@...e.com>,
Guenter Roeck <linux@...ck-us.net>, Rob Herring <robh@...nel.org>,
Krzysztof Kozlowski <krzk@...nel.org>,
Conor Dooley <conor+dt@...nel.org>,
Jonathan Corbet <corbet@....net>,
Alexis Cezar Torreno <alexisczezar.torreno@...log.com>,
Andy Shevchenko <andriy.shevchenko@...ux.intel.com>,
Uwe Kleine-König <u.kleine-koenig@...gutronix.de>
Subject: Re: [PATCH 2/2] hwmon: (pmbus/adp1050): Support adp1051 and adp1055
Hi Alexis,
kernel test robot noticed the following build warnings:
[auto build test WARNING on aa8cbc0898902070f1ad093a6e036cf57f0d47bc]
url: https://github.com/intel-lab-lkp/linux/commits/Alexis-Cezar-Torreno/dt-bindings-hwmon-pmbus-adp1050-Support-adp1051-and-adp1055-add-bindings/20241106-170853
base: aa8cbc0898902070f1ad093a6e036cf57f0d47bc
patch link: https://lore.kernel.org/r/20241106090311.17536-3-alexisczezar.torreno%40analog.com
patch subject: [PATCH 2/2] hwmon: (pmbus/adp1050): Support adp1051 and adp1055
config: x86_64-randconfig-r123-20241106 (https://download.01.org/0day-ci/archive/20241107/202411070427.lkz6nVFX-lkp@intel.com/config)
compiler: gcc-12 (Debian 12.2.0-14) 12.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20241107/202411070427.lkz6nVFX-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/202411070427.lkz6nVFX-lkp@intel.com/
sparse warnings: (new ones prefixed by >>)
>> drivers/hwmon/pmbus/adp1050.c:59:39: sparse: sparse: incorrect type in argument 2 (different modifiers) @@ expected struct pmbus_driver_info *info @@ got struct pmbus_driver_info const *[assigned] info @@
drivers/hwmon/pmbus/adp1050.c:59:39: sparse: expected struct pmbus_driver_info *info
drivers/hwmon/pmbus/adp1050.c:59:39: sparse: got struct pmbus_driver_info const *[assigned] info
vim +59 drivers/hwmon/pmbus/adp1050.c
50
51 static int adp1050_probe(struct i2c_client *client)
52 {
53 const struct pmbus_driver_info *info;
54
55 info = device_get_match_data(&client->dev);
56 if (!info)
57 return -ENODEV;
58
> 59 return pmbus_do_probe(client, info);
60 }
61
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
Powered by blists - more mailing lists