Re: [PATCH] powerpc/kernel: fix repeated words in comments

From: Christophe Leroy
Date: Thu Nov 03 2022 - 03:41:05 EST




Le 22/10/2022 à 07:12, wangjianli a écrit :
> Delete the redundant word 'the'.
>
> Signed-off-by: wangjianli <wangjianli@xxxxxxxxxx>
> ---
> arch/powerpc/kernel/process.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/arch/powerpc/kernel/process.c b/arch/powerpc/kernel/process.c
> index ee0433809621..ab786da8c30b 100644
> --- a/arch/powerpc/kernel/process.c
> +++ b/arch/powerpc/kernel/process.c
> @@ -173,7 +173,7 @@ void giveup_fpu(struct task_struct *tsk)
> EXPORT_SYMBOL(giveup_fpu);
>
> /*
> - * Make sure the floating-point register state in the
> + * Make sure the floating-point register state in
> * the thread_struct is up to date for task tsk.

I think all "the" can fly away :

Make sure floating-point register state in thread_struct is up to date
for task tsk.


> */
> void flush_fp_to_thread(struct task_struct *tsk)