linux-pm.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [pm:s2idle-dell-test 5/8] drivers/acpi/sleep.c:756:9: error: 'ec_gpe_wakeup' undeclared
@ 2017-05-11  5:24 kbuild test robot
  0 siblings, 0 replies; only message in thread
From: kbuild test robot @ 2017-05-11  5:24 UTC (permalink / raw)
  To: Rafael J. Wysocki; +Cc: kbuild-all, linux-acpi, devel, linux-pm

[-- Attachment #1: Type: text/plain, Size: 1652 bytes --]

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 #2: .config.gz --]
[-- Type: application/gzip, Size: 46813 bytes --]

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2017-05-11  5:24 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-05-11  5:24 [pm:s2idle-dell-test 5/8] drivers/acpi/sleep.c:756:9: error: 'ec_gpe_wakeup' undeclared kbuild 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 NNTP newsgroup(s).