diff mbox series

mm/zsmalloc: fix function parameter kernel-doc notation

Message ID 20250111063305.911010-1-rdunlap@infradead.org (mailing list archive)
State New
Headers show
Series mm/zsmalloc: fix function parameter kernel-doc notation | expand

Commit Message

Randy Dunlap Jan. 11, 2025, 6:33 a.m. UTC
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'

Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
Cc: Minchan Kim <minchan@kernel.org>
Cc: Sergey Senozhatsky <senozhatsky@chromium.org>
Cc: Andrew Morton <akpm@linux-foundation.org>
---
 mm/zpdesc.h |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox series

Patch

--- linux-next-20250108.orig/mm/zpdesc.h
+++ linux-next-20250108/mm/zpdesc.h
@@ -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