Re: (subset) [PATCH v2 0/5] PM: Use %pe to print error pointers symbolically
From: Sebastian Reichel
Date: Sun Oct 04 2026 - 13:51:36 EST
On Sun, 13 Sep 2026 00:41:50 +0530, Sumeet Pawnikar wrote:
> This patch series is a cleanup for subsystems under power management
> (linux-pm) that converts several instances of error pointer printing
> to use the `%pe` format specifier instead of explicitly casting with
> `PTR_ERR()`.
>
> Currently, many drivers use `PTR_ERR()` paired with `%ld` or `%li` to
> print error codes returned as pointers. By switching to `%pe` and passing
> the error pointer directly, the logging subsystem will automatically
> print the symbolic error name (e.g., `-ENOMEM`, `-EPROBE_DEFER`) when
> `CONFIG_SYMBOLIC_ERRNAME` is enabled, and gracefully fall back to the
> numeric value otherwise.
>
> [...]
Applied, thanks!
[1/5] power: Use %pe to print error pointers symbolically
commit: 8761a4577c4fd489fb7af435f4b11ab6762dab66
Best regards,
--
Sebastian Reichel <sebastian.reichel@xxxxxxxxxxxxx>