[PATCH] arm:kernel:Fix typo in comment

Jilin Yuan posted 1 patch 3 years, 10 months ago
arch/arm/kernel/hw_breakpoint.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
[PATCH] arm:kernel:Fix typo in comment
Posted by Jilin Yuan 3 years, 10 months ago
Delete the redundant word 'ARM'.

Signed-off-by: Jilin Yuan <yuanjilin@cdjrlc.com>
---
 arch/arm/kernel/hw_breakpoint.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/arm/kernel/hw_breakpoint.c b/arch/arm/kernel/hw_breakpoint.c
index 054e9199f30d..0b3c8f2ff7b0 100644
--- a/arch/arm/kernel/hw_breakpoint.c
+++ b/arch/arm/kernel/hw_breakpoint.c
@@ -199,7 +199,7 @@ static int get_num_wrps(void)
 	 * know which watchpoint fired. In the future we can either add a
 	 * disassembler and address generation emulator, or we can insert a
 	 * check to see if the DFAR is set on watchpoint exception entry
-	 * [the ARM ARM states that the DFAR is UNKNOWN, but experience shows
+	 * [the ARM states that the DFAR is UNKNOWN, but experience shows
 	 * that it is set on some implementations].
 	 */
 	if (get_debug_arch() < ARM_DEBUG_ARCH_V7_1)
-- 
2.36.1
Re: [PATCH] arm:kernel:Fix typo in comment
Posted by Conor.Dooley@microchip.com 3 years, 10 months ago

On 22/06/2022 09:37, Jilin Yuan wrote:
> Delete the redundant word 'ARM'.
> 
> Signed-off-by: Jilin Yuan <yuanjilin@cdjrlc.com>
> ---
>   arch/arm/kernel/hw_breakpoint.c | 2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/arch/arm/kernel/hw_breakpoint.c b/arch/arm/kernel/hw_breakpoint.c
> index 054e9199f30d..0b3c8f2ff7b0 100644
> --- a/arch/arm/kernel/hw_breakpoint.c
> +++ b/arch/arm/kernel/hw_breakpoint.c
> @@ -199,7 +199,7 @@ static int get_num_wrps(void)
>   	 * know which watchpoint fired. In the future we can either add a
>   	 * disassembler and address generation emulator, or we can insert a
>   	 * check to see if the DFAR is set on watchpoint exception entry
> -	 * [the ARM ARM states that the DFAR is UNKNOWN, but experience shows
> +	 * [the ARM states that the DFAR is UNKNOWN, but experience shows

This isnt a duplicate is it? It's The ARM Arch. Reference Manual, no?
Same would apply to your other duplicate removals for ARM I guess.

>   	 * that it is set on some implementations].
>   	 */
>   	if (get_debug_arch() < ARM_DEBUG_ARCH_V7_1)