From: kernel test robot <lkp@intel.com>
To: Armin Wolf <W_Armin@gmx.de>
Cc: kbuild-all@lists.01.org, linux-hwmon@vger.kernel.org,
Guenter Roeck <linux@roeck-us.net>
Subject: [hwmon:hwmon-next 7/7] drivers/hwmon/w83627ehf.c:1954:6: error: 'struct w83627ehf_data' has no member named 'vbat'
Date: Mon, 12 Jul 2021 09:57:45 +0800 [thread overview]
Message-ID: <202107120938.E9sCGUnW-lkp@intel.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 3353 bytes --]
tree: https://git.kernel.org/pub/scm/linux/kernel/git/groeck/linux-staging.git hwmon-next
head: ed35f99f75142ef4c92e610c617a740cfe814f0d
commit: ed35f99f75142ef4c92e610c617a740cfe814f0d [7/7] hwmon: (w83627ehf) Switch to SIMPLE_DEV_PM_OPS
config: openrisc-randconfig-r015-20210712 (attached as .config)
compiler: or1k-linux-gcc (GCC) 9.3.0
reproduce (this is a W=1 build):
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# https://git.kernel.org/pub/scm/linux/kernel/git/groeck/linux-staging.git/commit/?id=ed35f99f75142ef4c92e610c617a740cfe814f0d
git remote add hwmon https://git.kernel.org/pub/scm/linux/kernel/git/groeck/linux-staging.git
git fetch --no-tags hwmon hwmon-next
git checkout ed35f99f75142ef4c92e610c617a740cfe814f0d
# save the attached .config to linux build tree
mkdir build_dir
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross O=build_dir ARCH=openrisc SHELL=/bin/bash drivers/hwmon/
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/w83627ehf.c: In function 'w83627ehf_suspend':
>> drivers/hwmon/w83627ehf.c:1954:6: error: 'struct w83627ehf_data' has no member named 'vbat'
1954 | data->vbat = w83627ehf_read_value(data, W83627EHF_REG_VBAT);
| ^~
drivers/hwmon/w83627ehf.c: In function 'w83627ehf_resume':
drivers/hwmon/w83627ehf.c:2006:54: error: 'struct w83627ehf_data' has no member named 'vbat'
2006 | w83627ehf_write_value(data, W83627EHF_REG_VBAT, data->vbat);
| ^~
vim +1954 drivers/hwmon/w83627ehf.c
08e7e2789e0da4 drivers/i2c/chips/w83627ehf.c Jean Delvare 2005-04-25 1948
ed35f99f75142e drivers/hwmon/w83627ehf.c Armin Wolf 2021-07-09 1949 static int __maybe_unused w83627ehf_suspend(struct device *dev)
7e630bb55a52cf drivers/hwmon/w83627ehf.c Jean Delvare 2012-12-19 1950 {
7e630bb55a52cf drivers/hwmon/w83627ehf.c Jean Delvare 2012-12-19 1951 struct w83627ehf_data *data = w83627ehf_update_device(dev);
7e630bb55a52cf drivers/hwmon/w83627ehf.c Jean Delvare 2012-12-19 1952
7e630bb55a52cf drivers/hwmon/w83627ehf.c Jean Delvare 2012-12-19 1953 mutex_lock(&data->update_lock);
7e630bb55a52cf drivers/hwmon/w83627ehf.c Jean Delvare 2012-12-19 @1954 data->vbat = w83627ehf_read_value(data, W83627EHF_REG_VBAT);
7e630bb55a52cf drivers/hwmon/w83627ehf.c Jean Delvare 2012-12-19 1955 mutex_unlock(&data->update_lock);
7e630bb55a52cf drivers/hwmon/w83627ehf.c Jean Delvare 2012-12-19 1956
7e630bb55a52cf drivers/hwmon/w83627ehf.c Jean Delvare 2012-12-19 1957 return 0;
7e630bb55a52cf drivers/hwmon/w83627ehf.c Jean Delvare 2012-12-19 1958 }
7e630bb55a52cf drivers/hwmon/w83627ehf.c Jean Delvare 2012-12-19 1959
:::::: The code at line 1954 was first introduced by commit
:::::: 7e630bb55a52cfaa35011c0ebc2efc96f13e5135 hwmon: (w83627ehf) Add support for suspend
:::::: TO: Jean Delvare <khali@linux-fr.org>
:::::: CC: Jean Delvare <khali@endymion.delvare>
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 34416 bytes --]
next reply other threads:[~2021-07-12 1:59 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-07-12 1:57 kernel test robot [this message]
-- strict thread matches above, loose matches on Subject: below --
2021-07-12 2:07 [hwmon:hwmon-next 7/7] drivers/hwmon/w83627ehf.c:1954:6: error: 'struct w83627ehf_data' has no member named 'vbat' 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=202107120938.E9sCGUnW-lkp@intel.com \
--to=lkp@intel.com \
--cc=W_Armin@gmx.de \
--cc=kbuild-all@lists.01.org \
--cc=linux-hwmon@vger.kernel.org \
--cc=linux@roeck-us.net \
/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