tree: https://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm.git bleeding-edge head: d710dd3bb720823a8a2d0d7ea9a29f5f891173c1 commit: 97ed22a97da0d1cff32eae4edf16d212621ec566 [117/118] PM / wakeup: Do not fail dev_pm_attach_wake_irq() unnecessarily config: xtensa-allmodconfig (attached as .config) compiler: xtensa-linux-gcc (GCC) 7.2.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 97ed22a97da0d1cff32eae4edf16d212621ec566 # save the attached .config to linux build tree make.cross ARCH=xtensa All errors (new ones prefixed by >>): drivers/base/power/wakeirq.c: In function 'dev_pm_attach_wake_irq': >> drivers/base/power/wakeirq.c:48:17: error: 'struct dev_pm_info' has no member named 'wakeup'; did you mean 'wakeirq'? if (dev->power.wakeup) ^~~~~~ wakeirq vim +48 drivers/base/power/wakeirq.c 22 23 /** 24 * dev_pm_attach_wake_irq - Attach device interrupt as a wake IRQ 25 * @dev: Device entry 26 * @irq: Device wake-up capable interrupt 27 * @wirq: Wake irq specific data 28 * 29 * Internal function to attach either a device IO interrupt or a 30 * dedicated wake-up interrupt as a wake IRQ. 31 */ 32 static int dev_pm_attach_wake_irq(struct device *dev, int irq, 33 struct wake_irq *wirq) 34 { 35 unsigned long flags; 36 37 if (!dev || !wirq) 38 return -EINVAL; 39 40 spin_lock_irqsave(&dev->power.lock, flags); 41 if (dev_WARN_ONCE(dev, dev->power.wakeirq, 42 "wake irq already initialized\n")) { 43 spin_unlock_irqrestore(&dev->power.lock, flags); 44 return -EEXIST; 45 } 46 47 dev->power.wakeirq = wirq; > 48 if (dev->power.wakeup) 49 device_wakeup_attach_irq(dev, wirq); 50 51 spin_unlock_irqrestore(&dev->power.lock, flags); 52 return 0; 53 } 54 --- 0-DAY kernel test infrastructure Open Source Technology Center https://lists.01.org/pipermail/kbuild-all Intel Corporation
Attachment:
.config.gz
Description: application/gzip