Re: [PATCH v2] Docs/mm: Fix a mistake for pfn in page_tables.rst

From: Linus Walleij
Date: Wed Oct 09 2024 - 12:17:01 EST


On Wed, Oct 9, 2024 at 4:41 PM Pengyu Zhang <zpenya1314@xxxxxxxxx> wrote:

> The documentation incorrectly calculate the pfn value as 0x3fffff,
> which should be 0x3ffff instead. It is obtained by right-shifting
> 0xffffc000 by 14 bits.
>
> This patch corrects the value to prevent any potential confusion
> for developers referencing this document.
>
> Signed-off-by: Pengyu Zhang <zpenya1314@xxxxxxxxx>

Thanks, I love attention to detail yet make mistakes all the
time!
Reviewed-by: Linus Walleij <linus.walleij@xxxxxxxxxx>

Yours,
Linus Walleij