Skip to content

Commit cb8ee1a

Browse files
standby24x7penberg
authored andcommitted
mm: Fix warning on make htmldocs caused by slab.c
This patch fixed following errors while make htmldocs Warning(/mm/slab.c:1956): No description found for parameter 'page' Warning(/mm/slab.c:1956): Excess function parameter 'slabp' description in 'slab_destroy' Incorrect function parameter "slabp" was set instead of "page" Acked-by: Christoph Lameter <cl@linux.com> Signed-off-by: Masanari Iida <standby24x7@gmail.com> Signed-off-by: Pekka Enberg <penberg@kernel.org>
1 parent 67b6c90 commit cb8ee1a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mm/slab.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1946,7 +1946,7 @@ static void slab_destroy_debugcheck(struct kmem_cache *cachep,
19461946
/**
19471947
* slab_destroy - destroy and release all objects in a slab
19481948
* @cachep: cache pointer being destroyed
1949-
* @slabp: slab pointer being destroyed
1949+
* @page: page pointer being destroyed
19501950
*
19511951
* Destroy all the objs in a slab, and release the mem back to the system.
19521952
* Before calling the slab must have been unlinked from the cache. The

0 commit comments

Comments
 (0)