Re: [PATCH] ACPI: button: Report wakeup key only for power button wakeups
From: kernel test robot
Date: Thu Aug 20 2026 - 03:12:25 EST
Hi Baorui,
kernel test robot noticed the following build warnings:
[auto build test WARNING on 4d823c9d06aaa91476b58e56e4d44c4112da2811]
url: https://github.com/intel-lab-lkp/linux/commits/Baorui-Liu/ACPI-button-Report-wakeup-key-only-for-power-button-wakeups/20260806-202732
base: 4d823c9d06aaa91476b58e56e4d44c4112da2811
patch link: https://lore.kernel.org/r/20260806122732.533-1-baorliu%40amd.com
patch subject: [PATCH] ACPI: button: Report wakeup key only for power button wakeups
config: csky-allmodconfig (https://download.01.org/0day-ci/archive/20260820/202608201432.sqYAY4nF-lkp@xxxxxxxxx/config)
compiler: csky-linux-gcc (GCC) 16.1.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260820/202608201432.sqYAY4nF-lkp@xxxxxxxxx/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@xxxxxxxxx>
| Closes: https://lore.kernel.org/oe-kbuild-all/202608201432.sqYAY4nF-lkp@xxxxxxxxx/
All warnings (new ones prefixed by >>):
In file included from drivers/gpu/drm/nouveau/nouveau_connector.c:27:
>> include/acpi/button.h:18:52: warning: 'struct acpi_device' declared inside parameter list will not be visible outside of this definition or declaration
18 | static inline void acpi_power_button_wakeup(struct acpi_device *device)
| ^~~~~~~~~~~
vim +18 include/acpi/button.h
17
> 18 static inline void acpi_power_button_wakeup(struct acpi_device *device)
19 {
20 }
21 #endif /* IS_ENABLED(CONFIG_ACPI_BUTTON) */
22
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki