]> Pileus Git - ~andy/linux/commitdiff
mm: Fix warning on make htmldocs caused by slab.c
authorMasanari Iida <standby24x7@gmail.com>
Mon, 27 Jan 2014 17:57:08 +0000 (02:57 +0900)
committerPekka Enberg <penberg@kernel.org>
Fri, 31 Jan 2014 11:52:25 +0000 (13:52 +0200)
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>
mm/slab.c

index eb043bf05f4c57687c0644f11c12bd6b3a654795..b264214c77ead2f8426ae476354231dc7c52169a 100644 (file)
--- a/mm/slab.c
+++ b/mm/slab.c
@@ -1946,7 +1946,7 @@ static void slab_destroy_debugcheck(struct kmem_cache *cachep,
 /**
  * slab_destroy - destroy and release all objects in a slab
  * @cachep: cache pointer being destroyed
- * @slabp: slab pointer being destroyed
+ * @page: page pointer being destroyed
  *
  * Destroy all the objs in a slab, and release the mem back to the system.
  * Before calling the slab must have been unlinked from the cache.  The