linux/drivers/powercap
Sumeet Pawnikar 459199ccd1 powercap: intel_rapl: Use %pe to print error pointers symbolically
Replace PTR_ERR() and %ld with %pe and pass the original pointer directly
to pr_debug(). The %pe format specifier prints a symbolic error name
(e.g. -ENOMEM) when CONFIG_SYMBOLIC_ERRNAME is enabled, otherwise it falls
back gracefully and prints the raw integer value. This makes messages more
readable without any functional change.

Signed-off-by: Sumeet Pawnikar <sumeet4linux@gmail.com>
Link: https://patch.msgid.link/20260912191156.185448-6-sumeet4linux@gmail.com
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
2026-09-25 19:28:07 +02:00
..
arm_scmi_powercap.c Convert 'alloc_obj' family to use the new default GFP_KERNEL argument 2026-02-21 17:09:51 -08:00
dtpm_cpu.c Convert 'alloc_obj' family to use the new default GFP_KERNEL argument 2026-02-21 17:09:51 -08:00
dtpm_devfreq.c Convert 'alloc_obj' family to use the new default GFP_KERNEL argument 2026-02-21 17:09:51 -08:00
dtpm_subsys.h
dtpm.c Convert 'alloc_obj' family to use the new default GFP_KERNEL argument 2026-02-21 17:09:51 -08:00
idle_inject.c powercap: idle_inject: use us_to_ktime() where appropriate 2025-08-21 21:57:54 +02:00
intel_rapl_common.c More power management updates for 7.3-rc1 2026-08-26 14:13:26 -07:00
intel_rapl_msr.c powercap: intel_rapl: Use %pe to print error pointers symbolically 2026-09-25 19:28:07 +02:00
intel_rapl_tpmi.c powercap: intel_rapl_tpmi: Handle PMU registration failure during probe 2026-07-27 16:29:16 +02:00
Kconfig
Makefile
powercap_sys.c Convert remaining multi-line kmalloc_obj/flex GFP_KERNEL uses 2026-02-22 08:26:33 -08:00