Re: [PATCH] platform/x86: asus-wmi: don't warn when LPS0 is unavailable
From: kernel test robot
Date: Wed Sep 16 2026 - 14:59:00 EST
Hi Asai,
kernel test robot noticed the following build warnings:
[auto build test WARNING on 587858367581b9c55c3690f4e63382ad622719d4]
url: https://github.com/intel-lab-lkp/linux/commits/Asai-Neko/platform-x86-asus-wmi-don-t-warn-when-LPS0-is-unavailable/20260916-003256
base: 587858367581b9c55c3690f4e63382ad622719d4
patch link: https://lore.kernel.org/r/20260916-asus-wmi-lps0-unavailable-warn-v1-1-9bd6fb4c10f9%40sne.moe
patch subject: [PATCH] platform/x86: asus-wmi: don't warn when LPS0 is unavailable
config: x86_64-rhel-9.4-rust (https://download.01.org/0day-ci/archive/20260917/202609170232.23BqcT7n-lkp@xxxxxxxxx/config)
compiler: clang version 22.1.3 (https://github.com/llvm/llvm-project e9846648fd6183ee6d8cbdb4502213fcf902a211)
rustc: rustc 1.96.0 (ac68faa20 2026-05-25)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260917/202609170232.23BqcT7n-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/202609170232.23BqcT7n-lkp@xxxxxxxxx/
All warnings (new ones prefixed by >>):
>> drivers/platform/x86/asus-wmi.c:5428:66: warning: data argument not used by format string [-Wformat-extra-args]
5428 | pr_warn("failed to register LPS0 sleep handler in asus-wmi\n", ret);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~
include/linux/printk.h:564:37: note: expanded from macro 'pr_warn'
564 | printk(KERN_WARNING pr_fmt(fmt), ##__VA_ARGS__)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~
include/linux/printk.h:511:60: note: expanded from macro 'printk'
511 | #define printk(fmt, ...) printk_index_wrap(_printk, fmt, ##__VA_ARGS__)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~
include/linux/printk.h:483:19: note: expanded from macro 'printk_index_wrap'
483 | _p_func(_fmt, ##__VA_ARGS__); \
| ~~~~ ^
1 warning generated.
vim +5428 drivers/platform/x86/asus-wmi.c
5421
5422 static void asus_s2idle_check_register(void)
5423 {
5424 int ret;
5425
5426 ret = acpi_register_lps0_dev(&asus_ally_s2idle_dev_ops);
5427 if (ret && ret != -ENODEV)
> 5428 pr_warn("failed to register LPS0 sleep handler in asus-wmi\n", ret);
5429 }
5430
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki