Skip to content

Commit

Permalink
vsprintf: Update %pGp documentation about that it prints hex value
Browse files Browse the repository at this point in the history
The commit 23efd08 ("vsprintf: Make %pGp print
the hex value") changed the behavior of %pGp printk format.
Update the documentation accordingly.

Fixes: 23efd08 ("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
  • Loading branch information
Petr Mladek committed Nov 1, 2021
1 parent 23efd08 commit 6a7ca80
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Documentation/core-api/printk-formats.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 6a7ca80

Please sign in to comment.