Re: [PATCH] staging: greybus: use %pe to print PTR_ERR in fw-core.c
From: Johan Hovold
Date: Mon Mar 16 2026 - 04:47:03 EST
On Sun, Mar 15, 2026 at 09:40:48AM +0100, Tomasz Unger wrote:
> Replace PTR_ERR() with %pe format specifier which directly prints
> the error pointer in a human readable way, making the code cleaner
> and more idiomatic.
No, this is only results in inconsistency as Greybus logs all other
errnos numerically (which is perfectly sufficient).
See also:
https://lore.kernel.org/all/20251029132922.17329-1-johan@xxxxxxxxxx/
Johan