From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id ABAAFC433EF for ; Fri, 29 Oct 2021 02:19:08 +0000 (UTC) Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by mail.kernel.org (Postfix) with ESMTP id 2D2E661075 for ; Fri, 29 Oct 2021 02:19:08 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 2D2E661075 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=kvack.org Received: by kanga.kvack.org (Postfix) id 919C86B0071; Thu, 28 Oct 2021 22:19:07 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id 8C9486B0072; Thu, 28 Oct 2021 22:19:07 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 746466B0073; Thu, 28 Oct 2021 22:19:07 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from forelay.hostedemail.com (smtprelay0167.hostedemail.com [216.40.44.167]) by kanga.kvack.org (Postfix) with ESMTP id 507E46B0071 for ; Thu, 28 Oct 2021 22:19:07 -0400 (EDT) Received: from smtpin24.hostedemail.com (10.5.19.251.rfc1918.com [10.5.19.251]) by forelay04.hostedemail.com (Postfix) with ESMTP id D665C39B3D for ; Fri, 29 Oct 2021 02:19:06 +0000 (UTC) X-FDA: 78747867492.24.96FA326 Received: from mail-il1-f178.google.com (mail-il1-f178.google.com [209.85.166.178]) by imf22.hostedemail.com (Postfix) with ESMTP id 7D4EB190C for ; Fri, 29 Oct 2021 02:19:06 +0000 (UTC) Received: by mail-il1-f178.google.com with SMTP id i12so2900453ila.12 for ; Thu, 28 Oct 2021 19:19:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=u5cTMQjSN15aysEv1s966uGNJeyJ8GvA3g2sAjF08Zo=; b=djWLC0cOPs50AfKzhVWo3BZBag+uB3CHeM1Mb8SVyZgQBPNGuxCElzKcW3Xdw+gEnY adnJzlT1n/PNOX/u1G/m8pIsF7nZQyjvZwnO3MrRg50MYmks8juaZQ30DBsSwrnSfaCB PO/rb4YCNR3nLKiVQMpPW3F+9c2xMbjZqV6k/dn3AdnZ7CEiuAsfbu/UAkK+l45oli// cxQw6JuL6cIdrOrpOksyMfADNl7m6iT4j9NLCLK7z9p1+kikjSDcncjDAkqzH7Hg0C3J Ot0MFIjsTQoKJlwJC9MVDBhL7L29FR2Jzqbe3bLcYPd38PX/j51G0RKBtEeSl3tbNY/V RMtg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=u5cTMQjSN15aysEv1s966uGNJeyJ8GvA3g2sAjF08Zo=; b=RKuJuTX/EciHcMbwNcxopLq3o1nkclq0D0Oe862ALaSxAmLOSywVilHA4/UGpi67tN EFIkGpgRfhf/MhOLyEWnA9sI3n1RTGztC3ovjsmuwMLkujfcttILfAUPyB+7BCPejgKK ZTy907IBlweLzP2m83bQ1H85pCF21TqKpuQ5ycSYLofPBJkkt+QJlFgRli3ITNhAeFf9 FjCwjgUUgumasj56txFDEtvsx5rUyGs9/dbZPxwP0PbSx+pTQK/F3mnsnG85GI7EM9AG Un+Ni4HfH3rp+UciXLr+yiRrhJEWI5JVVqqR+H4IXM52Y9f7TJkW7pkrLRR3qhWo6kun CnsQ== X-Gm-Message-State: AOAM530UhCHlXU38yCY/3P2KWAgM6eJ1oKBAmxWmNI1ymosZ3vTmYHPA 49svLkIBFwRrdh6S4eP3OJFi/3Sh0O89faedUiE= X-Google-Smtp-Source: ABdhPJyXLZT4JW6hCAlslqoXR9fjcJuo3fzdtXo4wWSKGFGnzxvKiU6lXX+b6leKFxlhs/0KWKLejd7E4P5SsxbzKpg= X-Received: by 2002:a05:6e02:20e7:: with SMTP id q7mr6150587ilv.254.1635473945682; Thu, 28 Oct 2021 19:19:05 -0700 (PDT) MIME-Version: 1.0 References: <20211019142621.2810043-1-willy@infradead.org> <20211019142621.2810043-6-willy@infradead.org> In-Reply-To: From: Yafang Shao Date: Fri, 29 Oct 2021 10:18:29 +0800 Message-ID: Subject: Re: [PATCH] vsprintf: Update %pGp documentation about that it prints hex value To: Petr Mladek Cc: "Matthew Wilcox (Oracle)" , Sergey Senozhatsky , Linux MM , Vlastimil Babka , Rasmus Villemoes Content-Type: text/plain; charset="UTF-8" X-Stat-Signature: 9pr56jgnb45xe1q19rhhmhnhimqy1arn X-Rspamd-Server: rspam01 X-Rspamd-Queue-Id: 7D4EB190C Authentication-Results: imf22.hostedemail.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=djWLC0cO; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (imf22.hostedemail.com: domain of laoar.shao@gmail.com designates 209.85.166.178 as permitted sender) smtp.mailfrom=laoar.shao@gmail.com X-HE-Tag: 1635473946-591874 X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: On Fri, Oct 29, 2021 at 10:15 AM Yafang Shao wrote: > > On Wed, Oct 27, 2021 at 8:48 PM Petr Mladek wrote: > > > > The commit 23efd0804c0a869dfb1e7 ("vsprintf: Make %pGp print > > the hex value") changed the behavior of %pGp printk format. > > Update the documentation accordingly. > > > > Fixes: 23efd0804c0a869dfb1e7 ("vsprintf: Make %pGp print the hex value") > > Signed-off-by: Petr Mladek > > Reviewed-by: Yafang Shao > With below minor change: - %pGp 0x17ffffc0002036(referenced|uptodate|lru|active|private|node=0|zone=2|lastcpupid=0x1fffff + %pGp 0x17ffffc0002036(referenced|uptodate|lru|active|private|node=0|zone=2|lastcpupid=0x1fffff) The ')' is lost. I just checked the data before :( > > --- > > The commit ID 23efd0804c0a869dfb1e7 is taken from printk/linux.git, > > branch for-5.16-vsprintf-pgp. It should get preserved when the branch > > is merged into Linus tree. > > > > Documentation/core-api/printk-formats.rst | 2 +- > > 1 file changed, 1 insertion(+), 1 deletion(-) > > > > diff --git a/Documentation/core-api/printk-formats.rst b/Documentation/core-api/printk-formats.rst > > index e08bbe9b0cbf..4eff98e06b4b 100644 > > --- a/Documentation/core-api/printk-formats.rst > > +++ b/Documentation/core-api/printk-formats.rst > > @@ -580,7 +580,7 @@ Flags bitfields such as page flags, gfp_flags > > > > :: > > > > - %pGp referenced|uptodate|lru|active|private|node=0|zone=2|lastcpupid=0x1fffff > > + %pGp 0x17ffffc0002036(referenced|uptodate|lru|active|private|node=0|zone=2|lastcpupid=0x1fffff > > %pGg GFP_USER|GFP_DMA32|GFP_NOWARN > > %pGv read|exec|mayread|maywrite|mayexec|denywrite > > > > -- > > 2.26.2 > > > > -- > Thanks > Yafang -- Thanks Yafang