(subset) [PATCH v2 0/5] PM: Use %pe to print error pointers symbolically

Sebastian Reichel sebastian.reichel at collabora.com
Sun Oct 4 10:46:38 PDT 2026


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 at collabora.com>




More information about the Linux-mediatek mailing list