[PATCH 01/32] Input: cyttsp5 - Use %pe format specifier
Dmitry Torokhov
dmitry.torokhov at gmail.com
Thu Oct 16 22:18:38 PDT 2025
On Mon, Oct 13, 2025 at 02:14:41PM +0000, Ricardo Ribalda wrote:
> The %pe format specifier is designed to print error pointers. It prints
> a symbolic error name (eg. -EINVAL) and it makes the code simpler by
> omitting PTR_ERR()
>
> This patch fixes this cocci report:
> ./cyttsp5.c:927:3-10: WARNING: Consider using %pe to print PTR_ERR()
>
> Signed-off-by: Ricardo Ribalda <ribalda at chromium.org>
Applied, thank you.
--
Dmitry
More information about the Linux-mediatek
mailing list