linux-acpi.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [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'?
@ 2019-07-26  7:32 kbuild test robot
  0 siblings, 0 replies; only message in thread
From: kbuild test robot @ 2019-07-26  7:32 UTC (permalink / raw)
  To: Rafael J. Wysocki; +Cc: kbuild-all, linux-acpi, devel, linux-pm

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

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@intel.com>

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

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

only message in thread, other threads:[~2019-07-26  7:33 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-07-26  7:32 [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'? 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).