* Re: [PATCH 12/12] HID: surface: Use pm_ptr_sleep instead of #ifdef CONFIG_PM_SLEEP
[not found] <20260112105500.3664834-13-hadess@hadess.net>
@ 2026-01-12 17:00 ` kernel test robot
2026-01-12 18:14 ` kernel test robot
1 sibling, 0 replies; 2+ messages in thread
From: kernel test robot @ 2026-01-12 17:00 UTC (permalink / raw)
To: Bastien Nocera, linux-input
Cc: llvm, oe-kbuild-all, linux-kernel, Jiri Kosina,
Benjamin Tissoires, Bastien Nocera
Hi Bastien,
kernel test robot noticed the following build errors:
[auto build test ERROR on hid/for-next]
[also build test ERROR on linus/master v6.19-rc5 next-20260109]
[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/Bastien-Nocera/HID-hid-alps-Use-pm_ptr-instead-of-ifdef-CONFIG_PM/20260112-190559
base: https://git.kernel.org/pub/scm/linux/kernel/git/hid/hid.git for-next
patch link: https://lore.kernel.org/r/20260112105500.3664834-13-hadess%40hadess.net
patch subject: [PATCH 12/12] HID: surface: Use pm_ptr_sleep instead of #ifdef CONFIG_PM_SLEEP
config: x86_64-buildonly-randconfig-006-20260112 (https://download.01.org/0day-ci/archive/20260113/202601130046.aUeJ5BLs-lkp@intel.com/config)
compiler: clang version 20.1.8 (https://github.com/llvm/llvm-project 87f0227cb60147a26a1eeb4fb06e3b505e9c7261)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260113/202601130046.aUeJ5BLs-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/202601130046.aUeJ5BLs-lkp@intel.com/
All errors (new ones prefixed by >>):
>> drivers/hid/surface-hid/surface_kbd.c:291:9: error: call to undeclared function 'pm_ptr_sleep'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
291 | .pm = pm_ptr_sleep(&surface_hid_pm_ops),
| ^
>> drivers/hid/surface-hid/surface_kbd.c:291:9: error: incompatible integer to pointer conversion initializing 'const struct dev_pm_ops *' with an expression of type 'int' [-Wint-conversion]
291 | .pm = pm_ptr_sleep(&surface_hid_pm_ops),
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>> drivers/hid/surface-hid/surface_kbd.c:291:9: error: initializer element is not a compile-time constant
291 | .pm = pm_ptr_sleep(&surface_hid_pm_ops),
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
3 errors generated.
vim +/pm_ptr_sleep +291 drivers/hid/surface-hid/surface_kbd.c
284
285 static struct platform_driver surface_kbd_driver = {
286 .probe = surface_kbd_probe,
287 .remove = surface_kbd_remove,
288 .driver = {
289 .name = "surface_keyboard",
290 .acpi_match_table = surface_kbd_match,
> 291 .pm = pm_ptr_sleep(&surface_hid_pm_ops),
292 .probe_type = PROBE_PREFER_ASYNCHRONOUS,
293 },
294 };
295 module_platform_driver(surface_kbd_driver);
296
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH 12/12] HID: surface: Use pm_ptr_sleep instead of #ifdef CONFIG_PM_SLEEP
[not found] <20260112105500.3664834-13-hadess@hadess.net>
2026-01-12 17:00 ` [PATCH 12/12] HID: surface: Use pm_ptr_sleep instead of #ifdef CONFIG_PM_SLEEP kernel test robot
@ 2026-01-12 18:14 ` kernel test robot
1 sibling, 0 replies; 2+ messages in thread
From: kernel test robot @ 2026-01-12 18:14 UTC (permalink / raw)
To: Bastien Nocera; +Cc: llvm, oe-kbuild-all
Hi Bastien,
kernel test robot noticed the following build errors:
[auto build test ERROR on hid/for-next]
[also build test ERROR on linus/master v6.19-rc5 next-20260109]
[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/Bastien-Nocera/HID-hid-alps-Use-pm_ptr-instead-of-ifdef-CONFIG_PM/20260112-190559
base: https://git.kernel.org/pub/scm/linux/kernel/git/hid/hid.git for-next
patch link: https://lore.kernel.org/r/20260112105500.3664834-13-hadess%40hadess.net
patch subject: [PATCH 12/12] HID: surface: Use pm_ptr_sleep instead of #ifdef CONFIG_PM_SLEEP
config: loongarch-allmodconfig (https://download.01.org/0day-ci/archive/20260113/202601130224.PFFZLOhf-lkp@intel.com/config)
compiler: clang version 19.1.7 (https://github.com/llvm/llvm-project cd708029e0b2869e80abe31ddb175f7c35361f90)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260113/202601130224.PFFZLOhf-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/202601130224.PFFZLOhf-lkp@intel.com/
All errors (new ones prefixed by >>):
>> drivers/hid/surface-hid/surface_hid.c:244:9: error: call to undeclared function 'pm_ptr_sleep'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
244 | .pm = pm_ptr_sleep(&surface_hid_pm_ops),
| ^
>> drivers/hid/surface-hid/surface_hid.c:244:9: error: incompatible integer to pointer conversion initializing 'const struct dev_pm_ops *' with an expression of type 'int' [-Wint-conversion]
244 | .pm = pm_ptr_sleep(&surface_hid_pm_ops),
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>> drivers/hid/surface-hid/surface_hid.c:244:9: error: initializer element is not a compile-time constant
244 | .pm = pm_ptr_sleep(&surface_hid_pm_ops),
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
3 errors generated.
vim +/pm_ptr_sleep +244 drivers/hid/surface-hid/surface_hid.c
237
238 static struct ssam_device_driver surface_hid_driver = {
239 .probe = surface_hid_probe,
240 .remove = surface_hid_remove,
241 .match_table = surface_hid_match,
242 .driver = {
243 .name = "surface_hid",
> 244 .pm = pm_ptr_sleep(&surface_hid_pm_ops),
245 .probe_type = PROBE_PREFER_ASYNCHRONOUS,
246 },
247 };
248 module_ssam_device_driver(surface_hid_driver);
249
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2026-01-12 18:14 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <20260112105500.3664834-13-hadess@hadess.net>
2026-01-12 17:00 ` [PATCH 12/12] HID: surface: Use pm_ptr_sleep instead of #ifdef CONFIG_PM_SLEEP kernel test robot
2026-01-12 18:14 ` 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