Re: [PATCH] powerpc: Fix some kernel-doc warnings

From: Christophe Leroy
Date: Wed Nov 02 2022 - 10:03:22 EST




Le 01/11/2022 à 02:54, Bo Liu a écrit :
> [Vous ne recevez pas souvent de courriers de liubo03@xxxxxxxxxx. Découvrez pourquoi ceci est important à https://aka.ms/LearnAboutSenderIdentification ]
>
> The current code provokes some kernel-doc warnings:
> arch/powerpc/kernel/process.c:1606: warning: This comment starts with '/**', but isn't a kernel-doc comment. Refer Documentation/doc-guide/kernel-doc.rst
>
> Signed-off-by: Bo Liu <liubo03@xxxxxxxxxx>

Reviewed-by: Christophe Leroy <christophe.leroy@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 fcf604370c66..2e78232b1fc9 100644
> --- a/arch/powerpc/kernel/process.c
> +++ b/arch/powerpc/kernel/process.c
> @@ -1602,7 +1602,7 @@ void arch_setup_new_exec(void)
> }
>
> #ifdef CONFIG_PPC64
> -/**
> +/*
> * Assign a TIDR (thread ID) for task @t and set it in the thread
> * structure. For now, we only support setting TIDR for 'current' task.
> *
> --
> 2.27.0
>