From: Matthew Wilcox <willy@infradead.org>
To: zenghongling <zenghongling@kylinos.cn>
Cc: akpm@linux-foundation.org, axelrasmussen@google.com,
yuanchu@google.com, weixugc@google.com, hannes@cmpxchg.org,
david@kernel.org, mhocko@kernel.org, zhengqi.arch@bytedance.com,
shakeel.butt@linux.dev, lorenzo.stoakes@oracle.com,
yosry.ahmed@linux.dev, nphamcs@gmail.com,
chengming.zhou@linux.dev, linux-mm@kvack.org,
linux-kernel@vger.kernel.org, zhongling0719@126.com
Subject: Re: [PATCH] mm: Use %pe format specifier for error pointers
Date: Wed, 21 Jan 2026 06:26:40 +0000 [thread overview]
Message-ID: <aXBxoBTz16h-eKEs@casper.infradead.org> (raw)
In-Reply-To: <20260121034817.607435-1-zenghongling@kylinos.cn>
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.
prev parent reply other threads:[~2026-01-21 6:26 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-01-21 3:48 zenghongling
2026-01-21 6:26 ` Matthew Wilcox [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=aXBxoBTz16h-eKEs@casper.infradead.org \
--to=willy@infradead.org \
--cc=akpm@linux-foundation.org \
--cc=axelrasmussen@google.com \
--cc=chengming.zhou@linux.dev \
--cc=david@kernel.org \
--cc=hannes@cmpxchg.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mm@kvack.org \
--cc=lorenzo.stoakes@oracle.com \
--cc=mhocko@kernel.org \
--cc=nphamcs@gmail.com \
--cc=shakeel.butt@linux.dev \
--cc=weixugc@google.com \
--cc=yosry.ahmed@linux.dev \
--cc=yuanchu@google.com \
--cc=zenghongling@kylinos.cn \
--cc=zhengqi.arch@bytedance.com \
--cc=zhongling0719@126.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox