Re: [PATCH 2/3] mm/vmscan: use %pe to print PTR_ERR() values
From: SeongJae Park
Date: Tue Nov 18 2025 - 20:52:54 EST
On Tue, 18 Nov 2025 11:38:50 +0530 Sahil Chandna <chandna.sahil@xxxxxxxxx> wrote:
> Use the %pe printk format specifier to report error pointers directly
> instead of printing PTR_ERR() as a long value. This improves clarity,
> produces more readable error messages.
>
> This instance was flagged by the Coccinelle script
> (misc/ptr_err_to_pe.cocci) as an opportunity to adopt %pe.
>
> Found by: make coccicheck MODE=report M=mm/
> No functional change intended
>
> Signed-off-by: Sahil Chandna <chandna.sahil@xxxxxxxxx>
Reviewed-by: SeongJae Park <sj@xxxxxxxxxx>
Thanks,
SJ
[...]