]> www.infradead.org Git - users/jedix/linux-maple.git/commit
Docs/mm: Fix a mistake for pfn in page_tables.rst
authorPengyu Zhang <zpenya1314@gmail.com>
Wed, 9 Oct 2024 14:41:35 +0000 (22:41 +0800)
committerJonathan Corbet <corbet@lwn.net>
Mon, 14 Oct 2024 16:16:16 +0000 (10:16 -0600)
commit6a32c8dfec8126040a3f5484f4f7301ca96d697c
tree17991ba33d60984ba70185f19a3684f52fcc7213
parent443165227d20ad739d616b50adab4d8ade1c5296
Docs/mm: Fix a mistake for pfn in page_tables.rst

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@gmail.com>
Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Reviewed-by: Zenghui Yu <zenghui.yu@linux.dev>
Reviewed-by: Mike Rapoport (Microsoft) <rppt@kernel.org>
Signed-off-by: Jonathan Corbet <corbet@lwn.net>
Link: https://lore.kernel.org/r/20241009144135.12453-1-zpenya1314@gmail.com
Documentation/mm/page_tables.rst