From: kbuild test robot <lkp@intel.com>
To: "Rafael J. Wysocki" <rjw@rjwysocki.net>
Cc: kbuild-all@01.org, linux-acpi@vger.kernel.org, devel@acpica.org,
linux-pm@vger.kernel.org
Subject: [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: Fri, 26 Jul 2019 15:32:52 +0800 [thread overview]
Message-ID: <201907261533.F5Ae4zC0%lkp@intel.com> (raw)
[-- 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 --]
reply other threads:[~2019-07-26 7:33 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=201907261533.F5Ae4zC0%lkp@intel.com \
--to=lkp@intel.com \
--cc=devel@acpica.org \
--cc=kbuild-all@01.org \
--cc=linux-acpi@vger.kernel.org \
--cc=linux-pm@vger.kernel.org \
--cc=rjw@rjwysocki.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).