[PATCH 00/32] media: Use %pe format specifier

Sakari Ailus sakari.ailus at linux.intel.com
Thu Oct 16 12:22:06 PDT 2025


Hi Ricardo,

On Mon, Oct 13, 2025 at 02:14:40PM +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().
> 
> The recently introduced test scripts/coccinelle/misc/ptr_err_to_pe.cocci
> checks that we use %pe. Let's make it happy.
> 
> Signed-off-by: Ricardo Ribalda <ribalda at chromium.org>

Thanks for the set.

Acked-by: Sakari Ailus <sakari.ailus at linux.intel.com>

-- 
Kind regards,

Sakari Ailus



More information about the Linux-rockchip mailing list