From 92bcb43ce8383b07c50f7fb7ff6de30eac13069a Mon Sep 17 00:00:00 2001 From: Randy Dunlap Date: Fri, 10 Jan 2025 22:33:05 -0800 Subject: [PATCH] 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' Link: https://lkml.kernel.org/r/20250111063305.911010-1-rdunlap@infradead.org Signed-off-by: Randy Dunlap Cc: Minchan Kim Cc: Sergey Senozhatsky Signed-off-by: Andrew Morton --- mm/zpdesc.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mm/zpdesc.h b/mm/zpdesc.h index e0852498aecf..ad0443a1eda4 100644 --- a/mm/zpdesc.h +++ b/mm/zpdesc.h @@ -74,7 +74,7 @@ static_assert(sizeof(struct zpdesc) <= sizeof(struct page)); /** * 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