Re: [PATCH] x86/kgdb: Fix a kerneldoc issue when build with W=1

From: Randy Dunlap
Date: Fri Sep 22 2023 - 20:43:26 EST




On 9/22/23 09:46, Christophe JAILLET wrote:
> When compiled with W=1, the following warning is generated:
> arch/x86/kernel/kgdb.c:698: warning: Cannot understand *
> on line 698 - I thought it was a doc line
>
> Remove the corresponding empty comment line to fix the warning.
>
> Signed-off-by: Christophe JAILLET <christophe.jaillet@xxxxxxxxxx>

Acked-by: Randy Dunlap <rdunlap@xxxxxxxxxxxxx>

Thanks.

> ---
> arch/x86/kernel/kgdb.c | 1 -
> 1 file changed, 1 deletion(-)
>
> diff --git a/arch/x86/kernel/kgdb.c b/arch/x86/kernel/kgdb.c
> index 3a43a2dee658..9c9faa1634fb 100644
> --- a/arch/x86/kernel/kgdb.c
> +++ b/arch/x86/kernel/kgdb.c
> @@ -695,7 +695,6 @@ void kgdb_arch_exit(void)
> }
>
> /**
> - *
> * kgdb_skipexception - Bail out of KGDB when we've been triggered.
> * @exception: Exception vector number
> * @regs: Current &struct pt_regs.

--
~Randy