Re: [PATCH v2] staging: fbtft: use %pe for backlight errors
From: Andy Shevchenko
Date: Mon Jun 15 2026 - 03:13:01 EST
On Sun, Jun 14, 2026 at 11:16 PM Keefe Reeves <reeveskeefe@xxxxxxxxx> wrote:
>
> Coccinelle found two places where backlight registration errors are
> printed by passing PTR_ERR() to dev_err().
>
> Use %pe instead so the error pointer can be printed directly. This keeps
> the behavior the same and just makes the error printing cleaner.
Oh, nice! Now
Reviewed-by: Andy Shevchenko <andy@xxxxxxxxxx>
(for curious ones: you can also see my comment against v1 of this patch).
--
With Best Regards,
Andy Shevchenko