Re: [PATCH] staging: fbtft: Use %pe format specifier for error pointers
Andy Shevchenko <[email protected]>
| Newsgroups | dev.linux.lists.linux-kernel-mentees,dev.linux.lists.linux-staging,org.freedesktop.lists.dri-devel,org.kernel.vger.linux-fbdev,org.kernel.vger.linux-kernel |
|---|---|
| Message-ID | <CAHp75Vdu6pih=NqkYT0CR_oLyr3YgNKBeqYM3+naqVp52UCgVw@mail.gmail.com> |
On Sun, Apr 12, 2026 at 5:46 PM Mahad Ibrahim <[email protected]> wrote: > > The %pe format specifier resolves error pointers to their symbolic > representation. Previously %ld with PTR_ERR() was being used, %pe is a > better alternative. > > Fixes the following coccinelle warnings reported by coccicheck: > WARNING: Consider using %pe to print PTR_ERR() > > Testing: I do not own the hardware, therefore I could not perform > hardware testing. Compile tested only. I don't think it makes any difference for this driver. But I am not objecting to the change. Up to Greg if he wants to apply or not. -- With Best Regards, Andy Shevchenko