* Re: [PATCH] acpi: trigger wakeup key event from power button
[not found] <20230907074342.7722-1-Ken.Xue@amd.com>
@ 2023-09-07 20:06 ` kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2023-09-07 20:06 UTC (permalink / raw)
To: Ken Xue, linux-acpi, rafael, andriy.shevchenko
Cc: llvm, oe-kbuild-all, Ken.Xue
Hi Ken,
kernel test robot noticed the following build warnings:
[auto build test WARNING on rafael-pm/linux-next]
[also build test WARNING on linus/master next-20230907]
[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/Ken-Xue/acpi-trigger-wakeup-key-event-from-power-button/20230907-232828
base: https://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm.git linux-next
patch link: https://lore.kernel.org/r/20230907074342.7722-1-Ken.Xue%40amd.com
patch subject: [PATCH] acpi: trigger wakeup key event from power button
config: x86_64-rhel-8.3-rust (https://download.01.org/0day-ci/archive/20230908/202309080351.xHt2qhP2-lkp@intel.com/config)
compiler: clang version 16.0.4 (https://github.com/llvm/llvm-project.git ae42196bc493ffe877a7e3dff8be32035dea4d07)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20230908/202309080351.xHt2qhP2-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/202309080351.xHt2qhP2-lkp@intel.com/
All warnings (new ones prefixed by >>):
In file included from drivers/gpu/drm/i915/display/intel_lvds.c:30:
>> include/acpi/button.h:11:45: warning: declaration of 'struct acpi_device' will not be visible outside of this function [-Wvisibility]
extern void acpi_power_button_wakeup(struct acpi_device *device);
^
1 warning generated.
vim +11 include/acpi/button.h
8
9 #if IS_ENABLED(CONFIG_ACPI_BUTTON)
10 extern int acpi_lid_open(void);
> 11 extern void acpi_power_button_wakeup(struct acpi_device *device);
12 #else
13 static inline int acpi_lid_open(void)
14 {
15 return 1;
16 }
17 static inline void acpi_power_button_wakeup(struct acpi_device *device)
18 {
19 return;
20 }
21 #endif /* IS_ENABLED(CONFIG_ACPI_BUTTON) */
22
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2023-09-07 20:06 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <20230907074342.7722-1-Ken.Xue@amd.com>
2023-09-07 20:06 ` [PATCH] acpi: trigger wakeup key event from power button kernel test robot
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox