[PATCH] arm64: mm: fix comment typo of pud_offset_phys()

Subsystems: arm64 port (aarch64 architecture), the rest

STALE1819d LANDED

Landed in mainline as 5845e703f9b5 on 2021-08-25.

2 messages, 2 authors, 2021-08-26 · open the first message on its own page

[PATCH] arm64: mm: fix comment typo of pud_offset_phys()

From: Xujun Leng <hidden>
Date: 2021-08-25 15:36:31

Fix a typo in the comment of macro pud_offset_phys().

Signed-off-by: Xujun Leng <redacted>
---
 arch/arm64/include/asm/pgtable.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/arm64/include/asm/pgtable.h b/arch/arm64/include/asm/pgtable.h
index f09bf5c02891..dfa76afa0ccf 100644
--- a/arch/arm64/include/asm/pgtable.h
+++ b/arch/arm64/include/asm/pgtable.h
@@ -715,7 +715,7 @@ static inline pud_t *p4d_pgtable(p4d_t p4d)
 	return (pud_t *)__va(p4d_page_paddr(p4d));
 }
 
-/* Find an entry in the frst-level page table. */
+/* Find an entry in the first-level page table. */
 #define pud_offset_phys(dir, addr)	(p4d_page_paddr(READ_ONCE(*(dir))) + pud_index(addr) * sizeof(pud_t))
 
 #define pud_set_fixmap(addr)		((pud_t *)set_fixmap_offset(FIX_PUD, addr))
-- 
2.25.1


_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

Re: [PATCH] arm64: mm: fix comment typo of pud_offset_phys()

From: Catalin Marinas <catalin.marinas@arm.com>
Date: 2021-08-26 11:07:38

On Wed, 25 Aug 2021 23:05:26 +0800, Xujun Leng wrote:
Fix a typo in the comment of macro pud_offset_phys().
Applied to arm64 (for-next/misc), thanks!

[1/1] arm64: mm: fix comment typo of pud_offset_phys()
      https://git.kernel.org/arm64/c/5845e703f9b5

-- 
Catalin


_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help