Skip to contentSkip to conversation

s390/debug: fix kernel-doc warnings

PATCH Applied Randy Dunlap 2 participants 2 messages Oct 5, 2021 s390

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 s390/debug: fix kernel-doc warnings

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")
Cc Heiko Carstens <[email protected]>
Cc Vasily Gorbik <[email protected]>
Cc Christian Borntraeger <[email protected]>
Cc Peter Oberparleiter <[email protected]>
---
 arch/s390/include/asm/debug.h |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
arch/s390/include/asm/debug.h +1 -1
@@ -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
#1 lore raw

Am 05.10.21 um 07:16 schrieb Randy Dunlap:

Quoted 6 lines

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'

Quoted 7 lines
Fixes d72541f94512 ("s390/debug: add early tracing support")
Cc Heiko Carstens <[email protected]>
Cc Vasily Gorbik <[email protected]>
Cc Christian Borntraeger <[email protected]>
Cc Peter Oberparleiter <[email protected]>

Thanks applied.

Quoted 16 lines
---
  arch/s390/include/asm/debug.h |    2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)
arch/s390/include/asm/debug.h +1 -1
@@ -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