Skip to contentSkip to conversation

mm/zsmalloc: fix function parameter kernel-doc notation

PATCH New Randy Dunlap 1 participant 1 message Jan 11, 2025

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 mm/zsmalloc: fix function parameter kernel-doc notation

Use the correct function parameter name to eliminate a kernel-doc warning:

zpdesc.h:90: warning: Function parameter or struct member 'zp' not described in 'zpdesc_folio' zpdesc.h:90: warning: Excess function parameter 'zpdesc' description in 'zpdesc_folio'

Cc Minchan Kim <[email protected]>
Cc Sergey Senozhatsky <[email protected]>
Cc Andrew Morton <[email protected]>
---
 mm/zpdesc.h |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
mm/zpdesc.h +1 -1
@@ -74,7 +74,7 @@ static_assert(sizeof(struct zpdesc) <= s
 
 /**
  * zpdesc_folio - The folio allocated for a zpdesc
- * @zpdesc: The zpdesc.
+ * @zp: The zpdesc.
  *
  * Zpdescs are descriptors for zpool memory. The zpool memory itself is
  * allocated as folios that contain the zpool objects, and zpdesc uses specific