* [wsa:i2c/for-next 99/100] drivers/i2c/busses/i2c-stm32f7.c:2199:44: error: 'struct dev_pm_info' has no member named 'wakeup_path'
@ 2020-01-31 3:10 kbuild test robot
2020-01-31 6:54 ` Wolfram Sang
0 siblings, 1 reply; 2+ messages in thread
From: kbuild test robot @ 2020-01-31 3:10 UTC (permalink / raw)
To: kbuild-all
[-- Attachment #1: Type: text/plain, Size: 2227 bytes --]
tree: https://git.kernel.org/pub/scm/linux/kernel/git/wsa/linux.git i2c/for-next
head: abb49954dd66362ccb6aef0075e8f97e457de632
commit: 4921dd873b407e0d589d8d1af5e9875490e91a72 [99/100] i2c: stm32f7: allow controller to be wakeup-source
config: sh-allmodconfig (attached as .config)
compiler: sh4-linux-gcc (GCC) 7.5.0
reproduce:
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
git checkout 4921dd873b407e0d589d8d1af5e9875490e91a72
# save the attached .config to linux build tree
GCC_VERSION=7.5.0 make.cross ARCH=sh
If you fix the issue, kindly add following tag
Reported-by: kbuild test robot <lkp@intel.com>
All errors (new ones prefixed by >>):
drivers/i2c/busses/i2c-stm32f7.c: In function 'stm32f7_i2c_suspend':
>> drivers/i2c/busses/i2c-stm32f7.c:2199:44: error: 'struct dev_pm_info' has no member named 'wakeup_path'
if (!device_may_wakeup(dev) && !dev->power.wakeup_path) {
^
drivers/i2c/busses/i2c-stm32f7.c: In function 'stm32f7_i2c_resume':
drivers/i2c/busses/i2c-stm32f7.c:2218:44: error: 'struct dev_pm_info' has no member named 'wakeup_path'
if (!device_may_wakeup(dev) && !dev->power.wakeup_path) {
^
vim +2199 drivers/i2c/busses/i2c-stm32f7.c
2191
2192 static int __maybe_unused stm32f7_i2c_suspend(struct device *dev)
2193 {
2194 struct stm32f7_i2c_dev *i2c_dev = dev_get_drvdata(dev);
2195 int ret;
2196
2197 i2c_mark_adapter_suspended(&i2c_dev->adap);
2198
> 2199 if (!device_may_wakeup(dev) && !dev->power.wakeup_path) {
2200 ret = stm32f7_i2c_regs_backup(i2c_dev);
2201 if (ret < 0) {
2202 i2c_mark_adapter_resumed(&i2c_dev->adap);
2203 return ret;
2204 }
2205
2206 pinctrl_pm_select_sleep_state(dev);
2207 pm_runtime_force_suspend(dev);
2208 }
2209
2210 return 0;
2211 }
2212
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org Intel Corporation
[-- Attachment #2: config.gz --]
[-- Type: application/gzip, Size: 52915 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2020-01-31 6:54 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-01-31 3:10 [wsa:i2c/for-next 99/100] drivers/i2c/busses/i2c-stm32f7.c:2199:44: error: 'struct dev_pm_info' has no member named 'wakeup_path' kbuild test robot
2020-01-31 6:54 ` Wolfram Sang
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.