From: kernel test robot <lkp@intel.com>
To: kbuild-all@lists.01.org
Subject: Re: [RFC][PATCH] hwmon: (pmbus) Support 4th PSU temperature sensor
Date: Wed, 28 Jul 2021 21:38:15 +0800 [thread overview]
Message-ID: <202107282133.t3OGEChg-lkp@intel.com> (raw)
In-Reply-To: <20210728093815.8395-1-pmenzel@molgen.mpg.de>
[-- Attachment #1: Type: text/plain, Size: 4083 bytes --]
Hi Paul,
[FYI, it's a private test report for your RFC patch.]
[auto build test ERROR on hwmon/hwmon-next]
[also build test ERROR on v5.14-rc3 next-20210727]
[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]
url: https://github.com/0day-ci/linux/commits/Paul-Menzel/hwmon-pmbus-Support-4th-PSU-temperature-sensor/20210728-174022
base: https://git.kernel.org/pub/scm/linux/kernel/git/groeck/linux-staging.git hwmon-next
config: powerpc-randconfig-s031-20210728 (attached as .config)
compiler: powerpc-linux-gcc (GCC) 10.3.0
reproduce:
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# apt-get install sparse
# sparse version: v0.6.3-341-g8af24329-dirty
# https://github.com/0day-ci/linux/commit/a5972c52662d165d963025cb03ebc14bf638e310
git remote add linux-review https://github.com/0day-ci/linux
git fetch --no-tags linux-review Paul-Menzel/hwmon-pmbus-Support-4th-PSU-temperature-sensor/20210728-174022
git checkout a5972c52662d165d963025cb03ebc14bf638e310
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-10.3.0 make.cross C=1 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__' O=build_dir ARCH=powerpc SHELL=/bin/bash drivers/hwmon/pmbus/
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>
All errors (new ones prefixed by >>):
>> drivers/hwmon/pmbus/pmbus_core.c:1884:4: error: 'const struct pmbus_sensor_attr' has no member named 'sbase'
1884 | .sbase = PB_STATUS_TEMP_BASE,
| ^~~~~
>> drivers/hwmon/pmbus/pmbus_core.c:1884:12: error: 'PB_STATUS_TEMP_BASE' undeclared here (not in a function); did you mean 'PB_STATUS_TEMPERATURE'?
1884 | .sbase = PB_STATUS_TEMP_BASE,
| ^~~~~~~~~~~~~~~~~~~
| PB_STATUS_TEMPERATURE
vim +1884 drivers/hwmon/pmbus/pmbus_core.c
1838
1839 static const struct pmbus_sensor_attr temp_attributes[] = {
1840 {
1841 .reg = PMBUS_READ_TEMPERATURE_1,
1842 .class = PSC_TEMPERATURE,
1843 .paged = true,
1844 .update = true,
1845 .compare = true,
1846 .func = PMBUS_HAVE_TEMP,
1847 .sfunc = PMBUS_HAVE_STATUS_TEMP,
1848 .sreg = PMBUS_STATUS_TEMPERATURE,
1849 .gbit = PB_STATUS_TEMPERATURE,
1850 .limit = temp_limit_attrs,
1851 .nlimit = ARRAY_SIZE(temp_limit_attrs),
1852 }, {
1853 .reg = PMBUS_READ_TEMPERATURE_2,
1854 .class = PSC_TEMPERATURE,
1855 .paged = true,
1856 .update = true,
1857 .compare = true,
1858 .func = PMBUS_HAVE_TEMP2,
1859 .sfunc = PMBUS_HAVE_STATUS_TEMP,
1860 .sreg = PMBUS_STATUS_TEMPERATURE,
1861 .gbit = PB_STATUS_TEMPERATURE,
1862 .limit = temp_limit_attrs2,
1863 .nlimit = ARRAY_SIZE(temp_limit_attrs2),
1864 }, {
1865 .reg = PMBUS_READ_TEMPERATURE_3,
1866 .class = PSC_TEMPERATURE,
1867 .paged = true,
1868 .update = true,
1869 .compare = true,
1870 .func = PMBUS_HAVE_TEMP3,
1871 .sfunc = PMBUS_HAVE_STATUS_TEMP,
1872 .sreg = PMBUS_STATUS_TEMPERATURE,
1873 .gbit = PB_STATUS_TEMPERATURE,
1874 .limit = temp_limit_attrs3,
1875 .nlimit = ARRAY_SIZE(temp_limit_attrs3),
1876 }, {
1877 .reg = PMBUS_READ_TEMPERATURE_4,
1878 .class = PSC_TEMPERATURE,
1879 .paged = true,
1880 .update = true,
1881 .compare = true,
1882 .func = PMBUS_HAVE_TEMP4,
1883 .sfunc = PMBUS_HAVE_STATUS_TEMP,
> 1884 .sbase = PB_STATUS_TEMP_BASE,
1885 .gbit = PB_STATUS_TEMPERATURE,
1886 .limit = temp_limit_attrs4,
1887 .nlimit = ARRAY_SIZE(temp_limit_attrs4),
1888 }
1889 };
1890
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org
[-- Attachment #2: config.gz --]
[-- Type: application/gzip, Size: 31979 bytes --]
next prev parent reply other threads:[~2021-07-28 13:38 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-07-28 9:38 [RFC][PATCH] hwmon: (pmbus) Support 4th PSU temperature sensor Paul Menzel
2021-07-28 9:40 ` Paul Menzel
2021-07-28 13:05 ` Guenter Roeck
2021-07-28 13:38 ` kernel test robot [this message]
2021-07-29 8:35 ` 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=202107282133.t3OGEChg-lkp@intel.com \
--to=lkp@intel.com \
--cc=kbuild-all@lists.01.org \
/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.