Re: [PATCH net-next 2/2] net/mlx5: Use %pe format specifier for error pointers
From: Simon Horman
Date: Fri Sep 19 2025 - 12:55:20 EST
On Thu, Sep 18, 2025 at 01:43:47PM +0300, Tariq Toukan wrote:
> From: Gal Pressman <gal@xxxxxxxxxx>
>
> Using the coccinelle test introduced in previous commit
> (scripts/coccinelle/misc/ptr_err_to_pe.cocci), convert error logging
> throughout the mlx5 driver to use the %pe format specifier instead of
> PTR_ERR() with integer format specifiers.
>
> Signed-off-by: Gal Pressman <gal@xxxxxxxxxx>
> Reviewed-by: Alexei Lazar <alazar@xxxxxxxxxx>
> Signed-off-by: Tariq Toukan <tariqt@xxxxxxxxxx>
Simple, mechanical change that improves readability.
Looks good to me.
Reviewed-by: Simon Horman <horms@xxxxxxxxxx>