Re: [PATCH] arm:kernel:Fix typo in comment

From: Conor.Dooley
Date: Wed Jun 22 2022 - 06:04:33 EST




On 22/06/2022 09:37, Jilin Yuan wrote:
> Delete the redundant word 'ARM'.
>
> Signed-off-by: Jilin Yuan <yuanjilin@xxxxxxxxxx>
> ---
> 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)