From: kernel test robot <lkp@intel.com>
To: Cedric Encarnacion <cedricjustine.encarnacion@analog.com>,
devicetree@vger.kernel.org, linux-kernel@vger.kernel.org,
linux-i2c@vger.kernel.org, linux-doc@vger.kernel.org,
linux-hwmon@vger.kernel.org
Cc: oe-kbuild-all@lists.linux.dev,
"Guenter Roeck" <linux@roeck-us.net>,
"Jean Delvare" <jdelvare@suse.com>,
"Jonathan Corbet" <corbet@lwn.net>,
"Delphine CC Chiu" <Delphine_CC_Chiu@wiwynn.com>,
"Rob Herring" <robh@kernel.org>,
"Krzysztof Kozlowski" <krzk@kernel.org>,
"Conor Dooley" <conor+dt@kernel.org>,
"Radu Sabau" <radu.sabau@analog.com>,
Uwe =?unknown-8bit?Q?Kleine-K=C3=B6nig?=
<u.kleine-koenig@pengutronix.de>,
"Alexis Czezar Torreno" <alexisczezar.torreno@analog.com>,
"Cedric Encarnacion" <cedricjustine.encarnacion@analog.com>,
"Andy Shevchenko" <andriy.shevchenko@linux.intel.com>
Subject: Re: [PATCH 2/2] hwmon: (pmbus/adp1050): add support for adp1051, adp1055 and ltp8800
Date: Fri, 22 Nov 2024 05:54:56 +0800 [thread overview]
Message-ID: <202411220500.414mHL27-lkp@intel.com> (raw)
In-Reply-To: <20241120035826.3920-3-cedricjustine.encarnacion@analog.com>
Hi Cedric,
kernel test robot noticed the following build warnings:
[auto build test WARNING on groeck-staging/hwmon-next]
[also build test WARNING on linus/master v6.12 next-20241121]
[If your patch is applied to the wrong git tree, kindly drop us a note.
And when submitting patch, we suggest to use '--base' as documented in
https://git-scm.com/docs/git-format-patch#_base_tree_information]
url: https://github.com/intel-lab-lkp/linux/commits/Cedric-Encarnacion/dt-bindings-hwmon-pmbus-adp1050-Add-bindings-for-adp1051-adp1055-and-ltp8800/20241121-144856
base: https://git.kernel.org/pub/scm/linux/kernel/git/groeck/linux-staging.git hwmon-next
patch link: https://lore.kernel.org/r/20241120035826.3920-3-cedricjustine.encarnacion%40analog.com
patch subject: [PATCH 2/2] hwmon: (pmbus/adp1050): add support for adp1051, adp1055 and ltp8800
config: loongarch-randconfig-r064-20241122 (https://download.01.org/0day-ci/archive/20241122/202411220500.414mHL27-lkp@intel.com/config)
compiler: loongarch64-linux-gcc (GCC) 14.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20241122/202411220500.414mHL27-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/202411220500.414mHL27-lkp@intel.com/
All warnings (new ones prefixed by >>):
drivers/hwmon/pmbus/adp1050.c: In function 'adp1050_probe':
>> drivers/hwmon/pmbus/adp1050.c:88:39: warning: passing argument 2 of 'pmbus_do_probe' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
88 | return pmbus_do_probe(client, info);
| ^~~~
In file included from drivers/hwmon/pmbus/adp1050.c:12:
drivers/hwmon/pmbus/pmbus.h:541:73: note: expected 'struct pmbus_driver_info *' but argument is of type 'const struct pmbus_driver_info *'
541 | int pmbus_do_probe(struct i2c_client *client, struct pmbus_driver_info *info);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~
vim +88 drivers/hwmon/pmbus/adp1050.c
79
80 static int adp1050_probe(struct i2c_client *client)
81 {
82 const struct pmbus_driver_info *info;
83
84 info = device_get_match_data(&client->dev);
85 if (!info)
86 return -ENODEV;
87
> 88 return pmbus_do_probe(client, info);
89 }
90
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
next prev parent reply other threads:[~2024-11-21 21:56 UTC|newest]
Thread overview: 25+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-11-20 3:58 [PATCH 0/2] Add support for ADP1051/ADP1055 and LTP8800-1A/-2/-4A Cedric Encarnacion
2024-11-20 3:58 ` [PATCH 1/2] dt-bindings: hwmon: (pmbus/adp1050): Add bindings for adp1051, adp1055 and ltp8800 Cedric Encarnacion
2024-11-20 17:11 ` Conor Dooley
2024-11-20 17:35 ` Krzysztof Kozlowski
2024-11-20 18:07 ` Guenter Roeck
2024-11-20 18:39 ` Krzysztof Kozlowski
2024-11-25 2:44 ` Encarnacion, Cedric justine
2024-11-29 9:12 ` Nuno Sá
2024-11-20 18:00 ` Guenter Roeck
2024-11-23 19:56 ` Conor Dooley
2024-11-23 19:58 ` Conor Dooley
2024-11-25 2:44 ` Encarnacion, Cedric justine
2024-11-25 18:48 ` Conor Dooley
2024-11-20 3:58 ` [PATCH 2/2] hwmon: (pmbus/adp1050): add support " Cedric Encarnacion
2024-11-20 5:00 ` Randy Dunlap
2024-11-20 13:45 ` Andy Shevchenko
2024-11-20 13:52 ` Andy Shevchenko
2024-11-20 14:53 ` Guenter Roeck
2024-11-20 16:29 ` Andy Shevchenko
2024-11-25 3:07 ` Encarnacion, Cedric justine
2024-11-20 14:39 ` Guenter Roeck
2024-11-21 21:54 ` kernel test robot [this message]
2024-11-22 13:46 ` kernel test robot
2024-11-23 3:11 ` kernel test robot
2024-11-27 0:56 ` kernel test robot
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=202411220500.414mHL27-lkp@intel.com \
--to=lkp@intel.com \
--cc=Delphine_CC_Chiu@wiwynn.com \
--cc=alexisczezar.torreno@analog.com \
--cc=andriy.shevchenko@linux.intel.com \
--cc=cedricjustine.encarnacion@analog.com \
--cc=conor+dt@kernel.org \
--cc=corbet@lwn.net \
--cc=devicetree@vger.kernel.org \
--cc=jdelvare@suse.com \
--cc=krzk@kernel.org \
--cc=linux-doc@vger.kernel.org \
--cc=linux-hwmon@vger.kernel.org \
--cc=linux-i2c@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux@roeck-us.net \
--cc=oe-kbuild-all@lists.linux.dev \
--cc=radu.sabau@analog.com \
--cc=robh@kernel.org \
--cc=u.kleine-koenig@pengutronix.de \
/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.