[pm:s2idle-dell-test 5/8] drivers/acpi/sleep.c:756:9: error: 'ec_gpe_wakeup' undeclared

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



tree:   https://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm.git s2idle-dell-test
head:   428df3296ce3eef599685a2b894459803be99c11
commit: 220f945a19c4e512d1cd4888176ea471242abe51 [5/8] ACPI / sleep: EC-based wakeup from suspend-to-idle on Dell systems
config: ia64-allmodconfig (attached as .config)
compiler: ia64-linux-gcc (GCC) 6.2.0
reproduce:
        wget https://raw.githubusercontent.com/01org/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        git checkout 220f945a19c4e512d1cd4888176ea471242abe51
        # save the attached .config to linux build tree
        make.cross ARCH=ia64 

All error/warnings (new ones prefixed by >>):

   drivers/acpi/sleep.c: In function 'acpi_sleep_ec_gpe_may_wakeup':
>> drivers/acpi/sleep.c:756:9: error: 'ec_gpe_wakeup' undeclared (first use in this function)
     return ec_gpe_wakeup;
            ^~~~~~~~~~~~~
   drivers/acpi/sleep.c:756:9: note: each undeclared identifier is reported only once for each function it appears in
>> drivers/acpi/sleep.c:757:1: warning: control reaches end of non-void function [-Wreturn-type]
    }
    ^

vim +/ec_gpe_wakeup +756 drivers/acpi/sleep.c

   750	#else /* !CONFIG_SUSPEND */
   751	static inline void acpi_sleep_suspend_setup(void) {}
   752	#endif /* !CONFIG_SUSPEND */
   753	
   754	bool acpi_sleep_ec_gpe_may_wakeup(void)
   755	{
 > 756		return ec_gpe_wakeup;
 > 757	}
   758	
   759	#ifdef CONFIG_PM_SLEEP
   760	static u32 saved_bm_rld;

---
0-DAY kernel test infrastructure                Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all                   Intel Corporation

Attachment: .config.gz
Description: application/gzip


[Index of Archives]     [Linux IBM ACPI]     [Linux Power Management]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]     [Linux Resources]

  Powered by Linux