From: kernel test robot <lkp@intel.com>
To: "Baorui.Liu" <baorliu@amd.com>, "Rafael J . Wysocki" <rafael@kernel.org>
Cc: oe-kbuild-all@lists.linux.dev, Len Brown <lenb@kernel.org>,
linux-acpi@vger.kernel.org, linux-kernel@vger.kernel.org,
acpica-devel@lists.linuxfoundation.org,
kernel test robot <lkp@intel.com>,
"Baorui . Liu" <baorliu@amd.com>
Subject: Re: [PATCH v6] ACPI: button: Report wakeup key only for power button wakeups
Date: Tue, 3 Nov 2026 01:14:24 +0800 [thread overview]
Message-ID: <202611030112.cVsBZFFE-lkp@intel.com> (raw)
In-Reply-To: <20261102091049.856-1-baorliu@amd.com>
Hi Baorui.Liu,
kernel test robot noticed the following build errors:
[auto build test ERROR on rafael-pm/linux-next]
[also build test ERROR on rafael-pm/bleeding-edge linus/master v7.3 next-20261030]
[If your patch is applied to the wrong git tree, kindly drop us a note.
And when submitting patch, we suggest to use '--base' as documented in
https://git-scm.com/docs/git-format-patch#_base_tree_information]
url: https://github.com/intel-lab-lkp/linux/commits/Baorui-Liu/ACPI-button-Report-wakeup-key-only-for-power-button-wakeups/20261102-171049
base: https://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm.git linux-next
patch link: https://lore.kernel.org/r/20261102091049.856-1-baorliu%40amd.com
patch subject: [PATCH v6] ACPI: button: Report wakeup key only for power button wakeups
config: parisc64-defconfig (https://download.01.org/0day-ci/archive/20261103/202611030112.cVsBZFFE-lkp@intel.com/config)
compiler: hppa64-linux-gcc (GCC) 16.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20261103/202611030112.cVsBZFFE-lkp@intel.com/reproduce)
If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202611030112.cVsBZFFE-lkp@intel.com/
All errors (new ones prefixed by >>):
In file included from drivers/gpu/drm/nouveau/nouveau_connector.c:27:
>> include/acpi/button.h:28:15: error: unknown type name 'bool'
28 | static inline bool acpi_sleep_pwr_btn_wakeup_pending(void)
| ^~~~
include/acpi/button.h:1:1: note: 'bool' is defined in header '<stdbool.h>'; this is probably fixable by adding '#include <stdbool.h>'
+++ |+#include <stdbool.h>
1 | /* SPDX-License-Identifier: GPL-2.0 */
include/acpi/button.h: In function 'acpi_sleep_pwr_btn_wakeup_pending':
>> include/acpi/button.h:30:16: error: 'false' undeclared (first use in this function)
30 | return false;
| ^~~~~
include/acpi/button.h:30:16: note: 'false' is defined in header '<stdbool.h>'; this is probably fixable by adding '#include <stdbool.h>'
include/acpi/button.h:30:16: note: each undeclared identifier is reported only once for each function it appears in
vim +/bool +28 include/acpi/button.h
17
18 /*
19 * Set in acpi_suspend_enter() when the fixed power-button status bit is
20 * observed (IRQ-disabled context). Consumed by the button driver on resume
21 * so KEY_WAKEUP can be reported without calling into the button driver from
22 * that early path. Implemented in sleep.c (built-in); safe when
23 * CONFIG_ACPI_BUTTON=m.
24 */
25 #ifdef CONFIG_ACPI_SYSTEM_POWER_STATES_SUPPORT
26 bool acpi_sleep_pwr_btn_wakeup_pending(void);
27 #else
> 28 static inline bool acpi_sleep_pwr_btn_wakeup_pending(void)
29 {
> 30 return false;
31 }
32 #endif
33
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
next prev parent reply other threads:[~2026-11-02 17:14 UTC|newest]
Thread overview: 22+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-08-06 12:27 [PATCH] ACPI: button: Report wakeup key only for power button wakeups Baorui Liu
2026-08-07 14:12 ` Rafael J. Wysocki (Intel)
2026-08-19 8:55 ` [PATCH v2 0/1] " Baorui.Liu
2026-08-19 8:55 ` [PATCH v2 1/1] " Baorui.Liu
2026-09-09 14:41 ` Rafael J. Wysocki (Intel)
2026-09-17 14:31 ` [PATCH v3] " Baorui.Liu
2026-09-18 14:36 ` Rafael J. Wysocki (Intel)
2026-09-22 2:23 ` Baorui.Liu
2026-09-22 2:42 ` [PATCH v4] " Baorui.Liu
2026-10-12 6:08 ` [PATCH v5] " Baorui.Liu
2026-10-12 18:19 ` Rafael J. Wysocki (Intel)
2026-10-30 13:27 ` Baorui.Liu
2026-11-02 9:10 ` [PATCH v6] " Baorui.Liu
2026-11-02 17:14 ` kernel test robot [this message]
2026-11-02 21:47 ` kernel test robot
2026-11-09 8:27 ` [PATCH v7] " Baorui.Liu
2026-11-09 8:28 ` Baorui.Liu
2026-11-09 21:12 ` kernel test robot
2026-11-17 7:17 ` [PATCH v8] " Baorui.Liu
2026-11-20 13:56 ` Rafael J. Wysocki (Intel)
2026-11-23 9:02 ` Baorui.Liu
2026-08-20 7:07 ` [PATCH] " kernel test robot
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=202611030112.cVsBZFFE-lkp@intel.com \
--to=lkp@intel.com \
--cc=acpica-devel@lists.linuxfoundation.org \
--cc=baorliu@amd.com \
--cc=lenb@kernel.org \
--cc=linux-acpi@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=oe-kbuild-all@lists.linux.dev \
--cc=rafael@kernel.org \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.