From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from casper.infradead.org (casper.infradead.org [90.155.50.34]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 5CE31421A10 for ; Wed, 21 Jan 2026 06:26:58 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=90.155.50.34 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1768976823; cv=none; b=NvZaCHA/KldYDKyO58bVYUsrQRUJ0utIXZ9XaQ41Woostj3qPSkf/+2IHsDVwSwitMcImWSuhyc7GumMHBFyS+NSYYwRrYElocbo/Tujn29zkEMNdIN28IzKZrNMTAmX0uiRMI6+vhZohinYZb7tYpV7AhHwrDPioMdP0fIcZG4= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1768976823; c=relaxed/simple; bh=Vxkwr199Z0FQ2rDY/w4zxQzfLeGLcby2mknuXcEn4mQ=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=XTALhz0G89IMXOz9jcgzvLq8Nlt2hXegjLRU+GY/C6QPCO0ZLW4JVRkfqwb0nwV3OekDs5Ej4FSE+U+O5t3nHtg6mTu67Zy4JTUhsscChXSDcVDY7x/MAwYo4Kx/sVehzIfaAUuMEhEPsgPlOnhaHYXTGXrirHJp5bYqDmMSg0c= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=infradead.org; spf=none smtp.mailfrom=infradead.org; dkim=pass (2048-bit key) header.d=infradead.org header.i=@infradead.org header.b=rwVwLK5M; arc=none smtp.client-ip=90.155.50.34 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=infradead.org Authentication-Results: smtp.subspace.kernel.org; spf=none smtp.mailfrom=infradead.org Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=infradead.org header.i=@infradead.org header.b="rwVwLK5M" DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; h=In-Reply-To:Content-Type:MIME-Version: References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description; bh=PNhH2riMWX3Q+myVpHniFxOejkk4Wa8DeInyiyrQIbg=; b=rwVwLK5Ms767Y714H1sr3+c/rP pQjmUSg0nCv4AHR88HEpeU/yN3u4pmbEyw5fVOv4nSrRUK+EGAKKdJeE4bGKKFSCtgZwH+9sPszSP /b+QXFFUpDcSIROxu1pOXNv2PQI+PoXueLsQcjxfyzfvhbYdFNss0Ri4/baUoQjc8ulvGwCbs30i5 nqYk+sr0o1HmejMC0CfirI1e4yZIaqvfltSSoykgtsZOfZc1sUDG1KS5w/cTaX2S/wlxIGVZGkcpv +k995blS+qXX0HkB11y8YuN6RoSzIE6Cn5kIGAWM1Osg5DGi5rlJsH/e+5mkzB2NmI8epl2M+qWPk I49Kjvww==; Received: from willy by casper.infradead.org with local (Exim 4.98.2 #2 (Red Hat Linux)) id 1viRft-0000000Fymj-0Uvn; Wed, 21 Jan 2026 06:26:41 +0000 Date: Wed, 21 Jan 2026 06:26:40 +0000 From: Matthew Wilcox To: zenghongling 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 Message-ID: References: <20260121034817.607435-1-zenghongling@kylinos.cn> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline 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.