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 A6C60C433F5 for ; Fri, 29 Oct 2021 02:15:59 +0000 (UTC) Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by mail.kernel.org (Postfix) with ESMTP id 3F15A6108F for ; Fri, 29 Oct 2021 02:15:59 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 3F15A6108F 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 832EA6B0071; Thu, 28 Oct 2021 22:15:58 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id 7E2466B0072; Thu, 28 Oct 2021 22:15:58 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 6D1DA940007; Thu, 28 Oct 2021 22:15:58 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from forelay.hostedemail.com (smtprelay0164.hostedemail.com [216.40.44.164]) by kanga.kvack.org (Postfix) with ESMTP id 447696B0071 for ; Thu, 28 Oct 2021 22:15:58 -0400 (EDT) Received: from smtpin08.hostedemail.com (10.5.19.251.rfc1918.com [10.5.19.251]) by forelay05.hostedemail.com (Postfix) with ESMTP id 962401838DC16 for ; Fri, 29 Oct 2021 02:15:57 +0000 (UTC) X-FDA: 78747859554.08.D23946F Received: from mail-io1-f51.google.com (mail-io1-f51.google.com [209.85.166.51]) by imf23.hostedemail.com (Postfix) with ESMTP id 5D38F90003A2 for ; Fri, 29 Oct 2021 02:15:48 +0000 (UTC) Received: by mail-io1-f51.google.com with SMTP id m184so10797337iof.1 for ; Thu, 28 Oct 2021 19:15:57 -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=KwsgMlBkJxkeYvreLVHdnqBcFwSWCp+gdg+Ta0cpne0=; b=Yx0Ur+G1Kxj15kNtkXsQ5WVU0AZztUglvYTQtg9N1bavLblcOVGtBkHaF09WYYAE+L yef3Zb1G97MsN1E3ccXhHSboKeq9UTOp2CtQVZ084vd3lvvgQN3kHP88pz9a+XBzgidB 6jkTkz5Ui5zcCABSbddh/i9kKQIcE40GvXlHpgC3Y+d5HWHzSyvtHut50+C365Idp986 BryhYre7ht1yni7BVe2qY3MdAXM3F/VI0yXrlITBtmt8TmSUgFvfcuJkf4yTPDYY6YM3 tpj5Y4+P25+MAmIg7YyJalr97MYJiyTmoe8J9NXN6YeROXJy9e+lQDEAq5K4yOp2ho93 49uA== 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=KwsgMlBkJxkeYvreLVHdnqBcFwSWCp+gdg+Ta0cpne0=; b=GKvVtBCx6dycbpR6pVVsBQfbTQNcc/Ean4sm1ZCrSDc8W7/TzRAX0gtTN+xqb5XZqP YigfGrEM/wmevl6/TsgSk/eodDLX+eknlaprlE4rwU22l2TpkXSLzF6MYuuoMbQF2H64 MPvobc+DvAmwM6ZWPdBS5/rzcVtait/Ar5XryyfYswWD12oIdk5JmO6ZpZVR+iteTIPR ncyIOcO5KOgQ7bjzvQGMH0kizwyFSFI1RtRb+JTmiePoUWVqWMNRc/BXl7CIKyBnxaFP b1Ls0q7yDTpkp0HOWGcP1DfQpMNpF1Kiwj0WraI2ECBpYTltd222+7g8ISQx/4J4hDG3 1AEA== X-Gm-Message-State: AOAM533ZL8j+yHq+iPB/0NwNuJYPsiv2a+DM6G2qRCWTdiYqEI7PLwVC x4Czl8s6lnQ2XpsukmWARh5pvvymYWmpKDpnuxk= X-Google-Smtp-Source: ABdhPJxTsR6/YZAucd4qYTP6hb6cwHElw24nI/MdbgcPE1nuKFmv92bkR+yvRcsMaUYYeNny3zjg9kZUP7IPLJLxLzg= X-Received: by 2002:a05:6602:2dd5:: with SMTP id l21mr5849595iow.202.1635473756419; Thu, 28 Oct 2021 19:15:56 -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:15:20 +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: c71rcm879q1yw1x9nmtmzxgmbeb5uoyd Authentication-Results: imf23.hostedemail.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=Yx0Ur+G1; spf=pass (imf23.hostedemail.com: domain of laoar.shao@gmail.com designates 209.85.166.51 as permitted sender) smtp.mailfrom=laoar.shao@gmail.com; dmarc=pass (policy=none) header.from=gmail.com X-Rspamd-Server: rspam04 X-Rspamd-Queue-Id: 5D38F90003A2 X-HE-Tag: 1635473748-901305 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 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 > --- > 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