]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
vsprintf: Update %pGp documentation about that it prints hex value
authorPetr Mladek <pmladek@suse.com>
Wed, 27 Oct 2021 12:48:40 +0000 (14:48 +0200)
committerPetr Mladek <pmladek@suse.com>
Mon, 1 Nov 2021 14:55:06 +0000 (15:55 +0100)
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")
Reviewed-by: Yafang Shao <laoar.shao@gmail.com>
Signed-off-by: Petr Mladek <pmladek@suse.com>
Link: https://lore.kernel.org/r/YXlKqCPY9suM4mfT@alley
Documentation/core-api/printk-formats.rst

index e08bbe9b0cbf33918b37967c10e5fb13d517ddcb..5e89497ba314e7630c747ab37cda247f37a62ddb 100644 (file)
@@ -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