* [PATCH] xtensa: fix repeated words in comments
@ 2022-08-31 6:40 Jilin Yuan
2022-08-31 6:49 ` Max Filippov
0 siblings, 1 reply; 2+ messages in thread
From: Jilin Yuan @ 2022-08-31 6:40 UTC (permalink / raw)
To: chris, jcmvbkbc; +Cc: linux-xtensa, linux-kernel, Jilin Yuan
Delete the redundant word 'that'.
Signed-off-by: Jilin Yuan <yuanjilin@cdjrlc.com>
---
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
* with PS.WOE set, so it's not related to the windowed option
* hence PS.WOE may be cleared.
*/
--
2.36.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] xtensa: fix repeated words in comments
2022-08-31 6:40 [PATCH] xtensa: fix repeated words in comments Jilin Yuan
@ 2022-08-31 6:49 ` Max Filippov
0 siblings, 0 replies; 2+ messages in thread
From: Max Filippov @ 2022-08-31 6:49 UTC (permalink / raw)
To: Jilin Yuan; +Cc: chris, linux-xtensa, linux-kernel
On Tue, Aug 30, 2022 at 11:40 PM Jilin Yuan <yuanjilin@cdjrlc.com> wrote:
>
> Delete the redundant word 'that'.
>
> Signed-off-by: Jilin Yuan <yuanjilin@cdjrlc.com>
> ---
> 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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2022-08-31 6:49 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-08-31 6:40 [PATCH] xtensa: fix repeated words in comments Jilin Yuan
2022-08-31 6:49 ` Max Filippov
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).