From: kbuild test robot <lkp@intel.com>
To: kbuild-all@lists.01.org
Subject: [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'
Date: Fri, 31 Jan 2020 11:10:10 +0800 [thread overview]
Message-ID: <202001311108.grlykZKy%lkp@intel.com> (raw)
[-- 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 --]
next reply other threads:[~2020-01-31 3:10 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-01-31 3:10 kbuild test robot [this message]
2020-01-31 6:54 ` [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' Wolfram Sang
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=202001311108.grlykZKy%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.