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

Christophe JAILLET posted 1 patch 2 years, 4 months ago
arch/x86/kernel/kgdb.c | 1 -
1 file changed, 1 deletion(-)
[PATCH] x86/kgdb: Fix a kerneldoc issue when build with W=1
Posted by Christophe JAILLET 2 years, 4 months ago
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@wanadoo.fr>
---
 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.
-- 
2.34.1
Re: [PATCH] x86/kgdb: Fix a kerneldoc issue when build with W=1
Posted by Randy Dunlap 2 years, 4 months ago

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@wanadoo.fr>

Acked-by: Randy Dunlap <rdunlap@infradead.org>

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