Re: [PATCH] mm: Use %pe format specifier for error pointers
From: Matthew Wilcox
Date: Wed Jan 21 2026 - 01:27:11 EST
On Wed, Jan 21, 2026 at 11:48:17AM +0800, zenghongling wrote:
> Convert error logging throughout the MM subsystem to use
> the %pe format specifier instead of PTR_ERR() with integer
> format specifiers.
>
> Found by:
> ----
> ./zswap.c:753:20-27: WARNING: Consider using %pe to print PTR_ERR()
> ./vmscan.c:7504:12-19: WARNING: Consider using %pe to print PTR_ERR()
Please stop.