2021-08-03 14:21:59

by Jason Wang

[permalink] [raw]
Subject: [PATCH] arm64: fix typo in a comment

The double 'the' after 'If' in this comment "If the the TLB range ops
are supported..." is repeated. Consequently, one 'the' should be
removed from the comment.

Signed-off-by: Jason Wang <[email protected]>
---
arch/arm64/include/asm/tlbflush.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/arm64/include/asm/tlbflush.h b/arch/arm64/include/asm/tlbflush.h
index cc3f5a33ff9c..118dabbda553 100644
--- a/arch/arm64/include/asm/tlbflush.h
+++ b/arch/arm64/include/asm/tlbflush.h
@@ -308,7 +308,7 @@ static inline void __flush_tlb_range(struct vm_area_struct *vma,

/*
* When the CPU does not support TLB range operations, flush the TLB
- * entries one by one at the granularity of 'stride'. If the the TLB
+ * entries one by one at the granularity of 'stride'. If the TLB
* range ops are supported, then:
*
* 1. If 'pages' is odd, flush the first page through non-range
--
2.32.0



2021-08-03 15:51:04

by Catalin Marinas

[permalink] [raw]
Subject: Re: [PATCH] arm64: fix typo in a comment

On Tue, 3 Aug 2021 22:20:20 +0800, Jason Wang wrote:
> The double 'the' after 'If' in this comment "If the the TLB range ops
> are supported..." is repeated. Consequently, one 'the' should be
> removed from the comment.

Applied to arm64 (for-next/misc), thanks!

[1/1] arm64: fix typo in a comment
https://git.kernel.org/arm64/c/312b7104f39b

--
Catalin