Re: [PATCH] vsprintf: Update %pGp documentation about that it prints hex value

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Oct 27, 2021 at 8:48 PM Petr Mladek <pmladek@xxxxxxxx> 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 <pmladek@xxxxxxxx>

Reviewed-by: Yafang Shao <laoar.shao@xxxxxxxxx>

> ---
> 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




[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux