From: kernel test robot <lkp@intel.com>
To: Alex Vdovydchenko <keromvp@gmail.com>,
Rob Herring <robh@kernel.org>,
Krzysztof Kozlowski <krzk@kernel.org>,
Conor Dooley <conor+dt@kernel.org>,
Sean Anderson <sean.anderson@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>
Cc: oe-kbuild-all@lists.linux.dev, devicetree@vger.kernel.org,
linux-kernel@vger.kernel.org, linux-hwmon@vger.kernel.org,
linux-doc@vger.kernel.org, linux-i2c@vger.kernel.org,
Alex Vdovydchenko <xzeol@yahoo.com>
Subject: Re: [PATCH v2 2/2] hwmon: add MP5920 driver
Date: Fri, 28 Jun 2024 13:29:38 +0800 [thread overview]
Message-ID: <202406281339.YzOThRyw-lkp@intel.com> (raw)
In-Reply-To: <20240627090113.391730-3-xzeol@yahoo.com>
Hi Alex,
kernel test robot noticed the following build errors:
[auto build test ERROR on groeck-staging/hwmon-next]
[also build test ERROR on next-20240627]
[cannot apply to robh/for-next krzk-dt/for-next linus/master v6.10-rc5]
[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/Alex-Vdovydchenko/dt-bindings-hwmon-Add-MPS-mp5920/20240628-021125
base: https://git.kernel.org/pub/scm/linux/kernel/git/groeck/linux-staging.git hwmon-next
patch link: https://lore.kernel.org/r/20240627090113.391730-3-xzeol%40yahoo.com
patch subject: [PATCH v2 2/2] hwmon: add MP5920 driver
config: loongarch-allmodconfig (https://download.01.org/0day-ci/archive/20240628/202406281339.YzOThRyw-lkp@intel.com/config)
compiler: loongarch64-linux-gcc (GCC) 13.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240628/202406281339.YzOThRyw-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/202406281339.YzOThRyw-lkp@intel.com/
All error/warnings (new ones prefixed by >>):
>> drivers/hwmon/pmbus/mp5920.c:26:9: error: 'pages' undeclared here (not in a function); did you mean 'page'?
26 | pages = 1,
| ^~~~~
| page
>> drivers/hwmon/pmbus/mp5920.c:27:9: error: 'format' undeclared here (not in a function)
27 | format[PSC_VOLTAGE_IN] = direct,
| ^~~~~~
>> drivers/hwmon/pmbus/mp5920.c:32:9: error: 'm' undeclared here (not in a function); did you mean 'tm'?
32 | m[PSC_VOLTAGE_IN] = 2266,
| ^
| tm
>> drivers/hwmon/pmbus/mp5920.c:33:9: error: 'b' undeclared here (not in a function); did you mean 'mb'?
33 | b[PSC_VOLTAGE_IN] = 0,
| ^
| mb
>> drivers/hwmon/pmbus/mp5920.c:34:9: error: 'R' undeclared here (not in a function)
34 | R[PSC_VOLTAGE_IN] = -1,
| ^
>> drivers/hwmon/pmbus/mp5920.c:44:9: warning: excess elements in struct initializer
44 | m[PSC_TEMPERATURE] = 1067,
| ^
drivers/hwmon/pmbus/mp5920.c:44:9: note: (near initialization for 'mp5920_info')
drivers/hwmon/pmbus/mp5920.c:45:9: warning: excess elements in struct initializer
45 | b[PSC_TEMPERATURE] = 20500,
| ^
drivers/hwmon/pmbus/mp5920.c:45:9: note: (near initialization for 'mp5920_info')
drivers/hwmon/pmbus/mp5920.c:46:9: warning: excess elements in struct initializer
46 | R[PSC_TEMPERATURE] = -2,
| ^
drivers/hwmon/pmbus/mp5920.c:46:9: note: (near initialization for 'mp5920_info')
>> drivers/hwmon/pmbus/mp5920.c:47:9: error: 'func' undeclared here (not in a function)
47 | func[0] = PMBUS_HAVE_VIN | PMBUS_HAVE_VOUT |
| ^~~~
drivers/hwmon/pmbus/mp5920.c:47:9: warning: excess elements in struct initializer
drivers/hwmon/pmbus/mp5920.c:47:9: note: (near initialization for 'mp5920_info')
vim +26 drivers/hwmon/pmbus/mp5920.c
24
25 static struct pmbus_driver_info mp5920_info = {
> 26 pages = 1,
> 27 format[PSC_VOLTAGE_IN] = direct,
28 format[PSC_VOLTAGE_OUT] = direct,
29 format[PSC_CURRENT_OUT] = direct,
30 format[PSC_POWER] = direct,
31 format[PSC_TEMPERATURE] = direct,
> 32 m[PSC_VOLTAGE_IN] = 2266,
> 33 b[PSC_VOLTAGE_IN] = 0,
> 34 R[PSC_VOLTAGE_IN] = -1,
35 m[PSC_VOLTAGE_OUT] = 2266,
36 b[PSC_VOLTAGE_OUT] = 0,
37 R[PSC_VOLTAGE_OUT] = -1,
38 m[PSC_CURRENT_OUT] = 546,
39 b[PSC_CURRENT_OUT] = 0,
40 R[PSC_CURRENT_OUT] = -2,
41 m[PSC_POWER] = 5840,
42 b[PSC_POWER] = 0,
43 R[PSC_POWER] = -3,
> 44 m[PSC_TEMPERATURE] = 1067,
45 b[PSC_TEMPERATURE] = 20500,
46 R[PSC_TEMPERATURE] = -2,
> 47 func[0] = PMBUS_HAVE_VIN | PMBUS_HAVE_VOUT |
48 PMBUS_HAVE_IOUT | PMBUS_HAVE_POUT |
49 PMBUS_HAVE_TEMP,
50 };
51
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
next prev parent reply other threads:[~2024-06-28 5:29 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-06-27 9:01 [PATCH v2 0/2] Add MPS MP5920 Host-Swap controller Alex Vdovydchenko
2024-06-27 9:01 ` [PATCH v2 1/2] dt-bindings: hwmon: Add MPS mp5920 Alex Vdovydchenko
2024-06-27 15:12 ` Conor Dooley
2024-06-27 9:01 ` [PATCH v2 2/2] hwmon: add MP5920 driver Alex Vdovydchenko
2024-06-28 5:29 ` kernel test robot [this message]
2024-06-28 7:21 ` kernel test robot
2024-06-27 14:30 ` [PATCH v2 0/2] Add MPS MP5920 Host-Swap controller Guenter Roeck
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=202406281339.YzOThRyw-lkp@intel.com \
--to=lkp@intel.com \
--cc=Delphine_CC_Chiu@wiwynn.com \
--cc=conor+dt@kernel.org \
--cc=corbet@lwn.net \
--cc=devicetree@vger.kernel.org \
--cc=jdelvare@suse.com \
--cc=keromvp@gmail.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=robh@kernel.org \
--cc=sean.anderson@linux.dev \
--cc=xzeol@yahoo.com \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).