2022-08-31 07:11:57

by Max Filippov

[permalink] [raw]
Subject: Re: [PATCH] xtensa: fix repeated words in comments

On Tue, Aug 30, 2022 at 11:40 PM Jilin Yuan <[email protected]> wrote:
>
> Delete the redundant word 'that'.
>
> Signed-off-by: Jilin Yuan <[email protected]>
> ---
> arch/xtensa/kernel/traps.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/arch/xtensa/kernel/traps.c b/arch/xtensa/kernel/traps.c
> index 0c25e035ff10..998299debbf5 100644
> --- a/arch/xtensa/kernel/traps.c
> +++ b/arch/xtensa/kernel/traps.c
> @@ -322,7 +322,7 @@ static void do_illegal_instruction(struct pt_regs *regs)
> * When call0 application encounters an illegal instruction fast
> * exception handler will attempt to set PS.WOE and retry failing
> * instruction.
> - * If we get here we know that that instruction is also illegal
> + * If we get here we know that instruction is also illegal

I'd say that the sentence is correct.
It says that (we know that) (that instruction is also illegal).

--
Thanks.
-- Max