[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <202501252028.3VEwAFiG-lkp@intel.com>
Date: Sat, 25 Jan 2025 20:43:01 +0800
From: kernel test robot <lkp@...el.com>
To: Cedric Encarnacion <cedricjustine.encarnacion@...log.com>,
devicetree@...r.kernel.org, linux-kernel@...r.kernel.org,
linux-i2c@...r.kernel.org, linux-doc@...r.kernel.org,
linux-hwmon@...r.kernel.org
Cc: oe-kbuild-all@...ts.linux.dev, Guenter Roeck <linux@...ck-us.net>,
Jean Delvare <jdelvare@...e.com>, Jonathan Corbet <corbet@....net>,
Delphine CC Chiu <Delphine_CC_Chiu@...ynn.com>,
Rob Herring <robh@...nel.org>,
Krzysztof Kozlowski <krzk@...nel.org>,
Conor Dooley <conor+dt@...nel.org>,
Radu Sabau <radu.sabau@...log.com>,
Uwe Kleine-König <u.kleine-koenig@...gutronix.de>,
Alexis Czezar Torreno <alexisczezar.torreno@...log.com>,
Cedric Encarnacion <cedricjustine.encarnacion@...log.com>,
Andy Shevchenko <andriy.shevchenko@...ux.intel.com>
Subject: Re: [PATCH v4 2/3] hwmon: (pmbus/adp1050): Add support for adp1051,
adp1055 and ltp8800
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-hwmon-pmbus-adp1050-Add-adp1051-adp1055-and-ltp8800/20250124-233047
base: a76539b293677c5c163b9285b0cd8dd420d33989
patch link: https://lore.kernel.org/r/20250124151746.1130-3-cedricjustine.encarnacion%40analog.com
patch subject: [PATCH v4 2/3] hwmon: (pmbus/adp1050): Add support for adp1051, adp1055 and ltp8800
config: arm-randconfig-r133-20250125 (https://download.01.org/0day-ci/archive/20250125/202501252028.3VEwAFiG-lkp@intel.com/config)
compiler: arm-linux-gnueabi-gcc (GCC) 14.2.0
reproduce: (https://download.01.org/0day-ci/archive/20250125/202501252028.3VEwAFiG-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/202501252028.3VEwAFiG-lkp@intel.com/
sparse warnings: (new ones prefixed by >>)
>> drivers/hwmon/pmbus/adp1050.c:74:14: sparse: sparse: incorrect type in assignment (different modifiers) @@ expected struct pmbus_driver_info *info @@ got void const * @@
drivers/hwmon/pmbus/adp1050.c:74:14: sparse: expected struct pmbus_driver_info *info
drivers/hwmon/pmbus/adp1050.c:74:14: sparse: got void const *
vim +74 drivers/hwmon/pmbus/adp1050.c
69
70 static int adp1050_probe(struct i2c_client *client)
71 {
72 struct pmbus_driver_info *info;
73
> 74 info = i2c_get_match_data(client);
75 if (!info)
76 return -ENODEV;
77
78 return pmbus_do_probe(client, info);
79 }
80
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
Powered by blists - more mailing lists