Re: [PATCH v2] staging: fbtft: use %pe for backlight errors
Greg KH <[email protected]> Tue, 7 Jul 2026 11:22:58 +0200
| Newsgroups | org.kernel.vger.linux-fbdev,dev.linux.lists.linux-staging,org.freedesktop.lists.dri-devel,org.kernel.vger.linux-kernel |
|---|---|
| Message-ID | <2026070747-skype-exit-5962@gregkh> |
On Sun, Jun 14, 2026 at 05:15:51PM -0300, Keefe Reeves 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. > > Signed-off-by: Keefe Reeves <[email protected]> > --- > Changes in v2: > - Use reachable Gmail address for author and Signed-off-by. Does not apply to my tree :(