All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] arm64: mm: fix comment typo of pud_offset_phys()
@ 2021-08-25 15:05 ` Xujun Leng
  0 siblings, 0 replies; 4+ messages in thread
From: Xujun Leng @ 2021-08-25 15:05 UTC (permalink / raw)
  To: catalin.marinas, will; +Cc: lengxujun2007, linux-arm-kernel, linux-kernel

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

Signed-off-by: Xujun Leng <lengxujun2007@126.com>
---
 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

^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [PATCH] arm64: mm: fix comment typo of pud_offset_phys()
@ 2021-08-25 15:05 ` Xujun Leng
  0 siblings, 0 replies; 4+ messages in thread
From: Xujun Leng @ 2021-08-25 15:05 UTC (permalink / raw)
  To: catalin.marinas, will; +Cc: lengxujun2007, linux-arm-kernel, linux-kernel

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

Signed-off-by: Xujun Leng <lengxujun2007@126.com>
---
 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


^ permalink raw reply related	[flat|nested] 4+ messages in thread

* Re: [PATCH] arm64: mm: fix comment typo of pud_offset_phys()
  2021-08-25 15:05 ` Xujun Leng
@ 2021-08-26 11:07   ` Catalin Marinas
  -1 siblings, 0 replies; 4+ messages in thread
From: Catalin Marinas @ 2021-08-26 11:07 UTC (permalink / raw)
  To: Xujun Leng, will; +Cc: linux-arm-kernel, linux-kernel

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


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH] arm64: mm: fix comment typo of pud_offset_phys()
@ 2021-08-26 11:07   ` Catalin Marinas
  0 siblings, 0 replies; 4+ messages in thread
From: Catalin Marinas @ 2021-08-26 11:07 UTC (permalink / raw)
  To: Xujun Leng, will; +Cc: linux-arm-kernel, linux-kernel

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2021-08-26 11:09 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-08-25 15:05 [PATCH] arm64: mm: fix comment typo of pud_offset_phys() Xujun Leng
2021-08-25 15:05 ` Xujun Leng
2021-08-26 11:07 ` Catalin Marinas
2021-08-26 11:07   ` Catalin Marinas

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.