Skip to content

Commit

Permalink
mm: Fix warning on make htmldocs caused by slab.c
Browse files Browse the repository at this point in the history
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 <[email protected]>
Signed-off-by: Masanari Iida <[email protected]>
Signed-off-by: Pekka Enberg <[email protected]>
  • Loading branch information
standby24x7 authored and penberg committed Jan 31, 2014
1 parent 67b6c90 commit cb8ee1a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mm/slab.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit cb8ee1a

Please sign in to comment.