All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] s390/debug: fix kernel-doc warnings
@ 2021-10-05  5:16 Randy Dunlap
  2021-10-05  7:58 ` Christian Borntraeger
  0 siblings, 1 reply; 2+ messages in thread
From: Randy Dunlap @ 2021-10-05  5:16 UTC (permalink / raw)
  Cc: Randy Dunlap, Heiko Carstens, Vasily Gorbik,
	Christian Borntraeger, linux-s390, Peter Oberparleiter

Fix kernel-doc warning due to incorrect parameter name in
kernel-doc function notation:

../arch/s390/include/asm/debug.h:484: warning: Function parameter or member 'pages' not described in 'DEFINE_STATIC_DEBUG_INFO'
../arch/s390/include/asm/debug.h:484: warning: Excess function parameter 'pages_per_area' description in 'DEFINE_STATIC_DEBUG_INFO'

Fixes: d72541f94512 ("s390/debug: add early tracing support")
Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
Cc: Heiko Carstens <hca@linux.ibm.com>
Cc: Vasily Gorbik <gor@linux.ibm.com>
Cc: Christian Borntraeger <borntraeger@de.ibm.com>
Cc: linux-s390@vger.kernel.org
Cc: Peter Oberparleiter <oberpar@linux.ibm.com>
---
 arch/s390/include/asm/debug.h |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--- lnx-515-rc4.orig/arch/s390/include/asm/debug.h
+++ lnx-515-rc4/arch/s390/include/asm/debug.h
@@ -462,7 +462,7 @@ arch_initcall(VNAME(var, reg))
  *
  * @var: Name of debug_info_t variable
  * @name: Name of debug log (e.g. used for debugfs entry)
- * @pages_per_area: Number of pages per area
+ * @pages: Number of pages per area
  * @nr_areas: Number of debug areas
  * @buf_size: Size of data area in each debug entry
  * @view: Pointer to debug view struct

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH] s390/debug: fix kernel-doc warnings
  2021-10-05  5:16 [PATCH] s390/debug: fix kernel-doc warnings Randy Dunlap
@ 2021-10-05  7:58 ` Christian Borntraeger
  0 siblings, 0 replies; 2+ messages in thread
From: Christian Borntraeger @ 2021-10-05  7:58 UTC (permalink / raw)
  To: Randy Dunlap
  Cc: Heiko Carstens, Vasily Gorbik, linux-s390, Peter Oberparleiter



Am 05.10.21 um 07:16 schrieb Randy Dunlap:
> Fix kernel-doc warning due to incorrect parameter name in
> kernel-doc function notation:
> 
> ../arch/s390/include/asm/debug.h:484: warning: Function parameter or member 'pages' not described in 'DEFINE_STATIC_DEBUG_INFO'
> ../arch/s390/include/asm/debug.h:484: warning: Excess function parameter 'pages_per_area' description in 'DEFINE_STATIC_DEBUG_INFO'
> 
> Fixes: d72541f94512 ("s390/debug: add early tracing support")
> Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
> Cc: Heiko Carstens <hca@linux.ibm.com>
> Cc: Vasily Gorbik <gor@linux.ibm.com>
> Cc: Christian Borntraeger <borntraeger@de.ibm.com>
> Cc: linux-s390@vger.kernel.org
> Cc: Peter Oberparleiter <oberpar@linux.ibm.com>

Thanks applied.

> ---
>   arch/s390/include/asm/debug.h |    2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)
> 
> --- lnx-515-rc4.orig/arch/s390/include/asm/debug.h
> +++ lnx-515-rc4/arch/s390/include/asm/debug.h
> @@ -462,7 +462,7 @@ arch_initcall(VNAME(var, reg))
>    *
>    * @var: Name of debug_info_t variable
>    * @name: Name of debug log (e.g. used for debugfs entry)
> - * @pages_per_area: Number of pages per area
> + * @pages: Number of pages per area
>    * @nr_areas: Number of debug areas
>    * @buf_size: Size of data area in each debug entry
>    * @view: Pointer to debug view struct
> 

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-10-05  7:58 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-10-05  5:16 [PATCH] s390/debug: fix kernel-doc warnings Randy Dunlap
2021-10-05  7:58 ` Christian Borntraeger

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.