[pm:pm-s2idle-testing 9/12] drivers/acpi/ec.c:1061:6: error: implicit declaration of function 'pm_suspend_no_platform'; did you mean 'suspend_nvs_restore'?

[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-g004-201929 (attached as .config)
compiler: gcc-7 (Debian 7.4.0-10) 7.4.0
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:1052:6: error: redefinition of 'acpi_ec_mark_gpe_for_wake'
    void acpi_ec_mark_gpe_for_wake(void)
         ^~~~~~~~~~~~~~~~~~~~~~~~~
   In file included from drivers/acpi/ec.c:29:0:
   include/linux/acpi.h:944:20: note: previous definition of 'acpi_ec_mark_gpe_for_wake' was here
    static inline void acpi_ec_mark_gpe_for_wake(void) {}
                       ^~~~~~~~~~~~~~~~~~~~~~~~~
   drivers/acpi/ec.c:1059:6: error: redefinition of 'acpi_ec_set_gpe_wake_mask'
    void acpi_ec_set_gpe_wake_mask(u8 action)
         ^~~~~~~~~~~~~~~~~~~~~~~~~
   In file included from drivers/acpi/ec.c:29:0:
   include/linux/acpi.h:945:20: note: previous definition of 'acpi_ec_set_gpe_wake_mask' was here
    static inline void acpi_ec_set_gpe_wake_mask(u8 action) {}
                       ^~~~~~~~~~~~~~~~~~~~~~~~~
   drivers/acpi/ec.c: In function 'acpi_ec_set_gpe_wake_mask':
>> drivers/acpi/ec.c:1061:6: error: implicit declaration of function 'pm_suspend_no_platform'; did you mean 'suspend_nvs_restore'? [-Werror=implicit-function-declaration]
     if (pm_suspend_no_platform() && first_ec && !ec_no_wakeup)
         ^~~~~~~~~~~~~~~~~~~~~~
         suspend_nvs_restore
   cc1: some warnings being treated as errors

vim +1061 drivers/acpi/ec.c

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