* [hwmon:hwmon-next 7/7] drivers/hwmon/w83627ehf.c:1954:6: error: 'struct w83627ehf_data' has no member named 'vbat'
@ 2021-07-12 1:57 kernel test robot
0 siblings, 0 replies; 2+ messages in thread
From: kernel test robot @ 2021-07-12 1:57 UTC (permalink / raw
To: Armin Wolf; +Cc: kbuild-all, linux-hwmon, Guenter Roeck
[-- 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 --]
^ permalink raw reply [flat|nested] 2+ messages in thread
* [hwmon:hwmon-next 7/7] drivers/hwmon/w83627ehf.c:1954:6: error: 'struct w83627ehf_data' has no member named 'vbat'
@ 2021-07-12 2:07 kernel test robot
0 siblings, 0 replies; 2+ messages in thread
From: kernel test robot @ 2021-07-12 2:07 UTC (permalink / raw
To: Armin Wolf; +Cc: kbuild-all, linux-hwmon, Guenter Roeck
[-- Attachment #1: Type: text/plain, Size: 3348 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: alpha-randconfig-r023-20210711 (attached as .config)
compiler: alpha-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=alpha 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: 21991 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2021-07-12 2:08 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-07-12 1:57 [hwmon:hwmon-next 7/7] drivers/hwmon/w83627ehf.c:1954:6: error: 'struct w83627ehf_data' has no member named 'vbat' kernel test robot
-- strict thread matches above, loose matches on Subject: below --
2021-07-12 2:07 kernel test robot
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 read-only IMAP folder(s) and NNTP newsgroup(s).