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

Christophe Leroy christophe.leroy at csgroup.eu
Mon Nov 14 05:38:41 AEDT 2022


Le 12/11/2022 à 08:58, wangjianli a écrit :
> Delete the redundant word 'the'.
> 
> Signed-off-by: wangjianli <wangjianli at cdjrlc.com>
> ---
>   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 ab786da8c30b..6fa4ddec6c11 100644
> --- a/arch/powerpc/kernel/process.c
> +++ b/arch/powerpc/kernel/process.c
> @@ -281,7 +281,7 @@ void enable_kernel_altivec(void)
>   EXPORT_SYMBOL(enable_kernel_altivec);
>   
>   /*
> - * Make sure the VMX/Altivec register state in the
> + * Make sure the VMX/Altivec register state in

There are more unnecessary 'the' in this sentence.

I think if would read better as:

	Make sure VMX/Altivec register state in thread_struct is up to date for 
task tsk.

>    * the thread_struct is up to date for task tsk.
>    */
>   void flush_altivec_to_thread(struct task_struct *tsk)



More information about the Linuxppc-dev mailing list