From patchwork Wed Oct 27 12:48:40 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Petr Mladek X-Patchwork-Id: 12587263 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 9C67BC433EF for ; Wed, 27 Oct 2021 12:48:46 +0000 (UTC) Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by mail.kernel.org (Postfix) with ESMTP id 2FF246103C for ; Wed, 27 Oct 2021 12:48:46 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 2FF246103C Authentication-Results: mail.kernel.org; dmarc=fail (p=quarantine dis=none) header.from=suse.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=kvack.org Received: by kanga.kvack.org (Postfix) id C9359940009; Wed, 27 Oct 2021 08:48:45 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id C4367940007; Wed, 27 Oct 2021 08:48:45 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id B329F940009; Wed, 27 Oct 2021 08:48:45 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from forelay.hostedemail.com (smtprelay0131.hostedemail.com [216.40.44.131]) by kanga.kvack.org (Postfix) with ESMTP id A5F09940007 for ; Wed, 27 Oct 2021 08:48:45 -0400 (EDT) Received: from smtpin20.hostedemail.com (10.5.19.251.rfc1918.com [10.5.19.251]) by forelay04.hostedemail.com (Postfix) with ESMTP id 1BE47274D2 for ; Wed, 27 Oct 2021 12:48:45 +0000 (UTC) X-FDA: 78742196610.20.CBDEBF3 Received: from smtp-out2.suse.de (smtp-out2.suse.de [195.135.220.29]) by imf11.hostedemail.com (Postfix) with ESMTP id A62DEF000208 for ; Wed, 27 Oct 2021 12:48:44 +0000 (UTC) Received: from relay2.suse.de (relay2.suse.de [149.44.160.134]) by smtp-out2.suse.de (Postfix) with ESMTP id 979B01FD3C; Wed, 27 Oct 2021 12:48:43 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.com; s=susede1; t=1635338923; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=mZdciCzgx8Nt1km9VTPHaGgxdy+I5peVy2YFkekLuc8=; b=u5ljQuoA2psuSDzAZiloNhmcd0OEl+/GhPrO88xCE/Ifrk8ExVbt59d7XrVlk9Rnn/KSFn gc8tG5sKm45qpNSw6VaKkfuinKh5DgC7ajS0y6AvCkqIKdKam/IBn8aHN8F2oj6z+fh/QH KXBDLz5FR0jJYwnSpFdUYh0OHmEaT3E= Received: from suse.cz (unknown [10.100.224.162]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by relay2.suse.de (Postfix) with ESMTPS id 7AB85A3B81; Wed, 27 Oct 2021 12:48:43 +0000 (UTC) Date: Wed, 27 Oct 2021 14:48:40 +0200 From: Petr Mladek To: "Matthew Wilcox (Oracle)" Cc: Yafang Shao , Sergey Senozhatsky , linux-mm@kvack.org, Vlastimil Babka , Rasmus Villemoes Subject: [PATCH] vsprintf: Update %pGp documentation about that it prints hex value Message-ID: References: <20211019142621.2810043-1-willy@infradead.org> <20211019142621.2810043-6-willy@infradead.org> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20211019142621.2810043-6-willy@infradead.org> X-Rspamd-Server: rspam02 X-Rspamd-Queue-Id: A62DEF000208 X-Stat-Signature: 5c1ofm87p9t6m5pnrkraykfefugyb3c6 Authentication-Results: imf11.hostedemail.com; dkim=pass header.d=suse.com header.s=susede1 header.b=u5ljQuoA; dmarc=pass (policy=quarantine) header.from=suse.com; spf=pass (imf11.hostedemail.com: domain of pmladek@suse.com designates 195.135.220.29 as permitted sender) smtp.mailfrom=pmladek@suse.com X-HE-Tag: 1635338924-352053 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: 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