[pm:pm-s2idle-testing 9/12] drivers/acpi/ec.c:1061:2: error: implicit declaration of function 'pm_suspend_no_platform'

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

 



tree:   https://kernel.googlesource.com/pub/scm/linux/kernel/git/rafael/linux-pm.git pm-s2idle-testing
head:   4bf4770939f0f44bcabdd02e15cc18bd683a2734
commit: 2f0dd704ceda376492d18398b659513077de672c [9/12] ACPI: PM: Set up EC GPE for system wakeup from drivers that need it
config: x86_64-randconfig-s0-07260935 (attached as .config)
compiler: gcc-4.9 (Debian 4.9.4-2) 4.9.4
reproduce:
        git checkout 2f0dd704ceda376492d18398b659513077de672c
        # save the attached .config to linux build tree
        make ARCH=x86_64 

If you fix the issue, kindly add following tag
Reported-by: kbuild test robot <lkp@xxxxxxxxx>

All errors (new ones prefixed by >>):

   drivers/acpi/ec.c: In function 'acpi_ec_set_gpe_wake_mask':
>> drivers/acpi/ec.c:1061:2: error: implicit declaration of function 'pm_suspend_no_platform' [-Werror=implicit-function-declaration]
     if (pm_suspend_no_platform() && first_ec && !ec_no_wakeup)
     ^
   cc1: some warnings being treated as errors

vim +/pm_suspend_no_platform +1061 drivers/acpi/ec.c

  1058	
  1059	void acpi_ec_set_gpe_wake_mask(u8 action)
  1060	{
> 1061		if (pm_suspend_no_platform() && first_ec && !ec_no_wakeup)
  1062			acpi_set_gpe_wake_mask(NULL, first_ec->gpe, action);
  1063	}
  1064	EXPORT_SYMBOL_GPL(acpi_ec_set_gpe_wake_mask);
  1065	

---
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