summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMasanari Iida <standby24x7@gmail.com>2014-01-28 02:57:08 +0900
committerPekka Enberg <penberg@kernel.org>2014-01-31 13:52:25 +0200
commitcb8ee1a3d429f8898972c869dd4792afb04e961a (patch)
treecb4f532c111a9f909c27c94b83ec041ee3fc08f6
parent67b6c900dc6dce65478d6fe37b60cd1e65bb80c2 (diff)
downloadlinux-stable-cb8ee1a3d429f8898972c869dd4792afb04e961a.tar.gz
linux-stable-cb8ee1a3d429f8898972c869dd4792afb04e961a.tar.bz2
linux-stable-cb8ee1a3d429f8898972c869dd4792afb04e961a.zip
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>
-rw-r--r--mm/slab.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mm/slab.c b/mm/slab.c
index eb043bf05f4c..b264214c77ea 100644
--- 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