mm: fix slab.c kernel-doc warnings
PATCH 1/1 mm: fix slab.c kernel-doc warnings
From: Randy Dunlap <[email protected]>
Fix new kernel-doc warnings in mm/slab.c:
Warning(mm/slab.c:2358): No description found for parameter 'cachep' Warning(mm/slab.c:2358): Excess function parameter 'name' description in '__kmem_cache_create' Warning(mm/slab.c:2358): Excess function parameter 'size' description in '__kmem_cache_create' Warning(mm/slab.c:2358): Excess function parameter 'align' description in '__kmem_cache_create' Warning(mm/slab.c:2358): Excess function parameter 'ctor' description in '__kmem_cache_create'
--- mm/slab.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-)
mm/slab.c +1 -4
@@ -2331,11 +2331,8 @@ static int __init_refok setup_cpu_cache(/** * __kmem_cache_create - Create a cache. -* @name: A string which is used in /proc/slabinfo to identify this cache. -* @size: The size of objects to be created in this cache. -* @align: The required alignment for the objects. +* @cachep: cache management descriptor * @flags: SLAB flags -* @ctor: A constructor for the objects. * * Returns a ptr to the cache on success, NULL on failure. * Cannot be called within a int, but can be interrupted.
--
To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to [email protected]. For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"[email protected]"> [email protected] </a>
Pekka Enberg
AppliedQuoted 10 lines · Randy Dunlap
From: Randy Dunlap <[email protected]>
Fix new kernel-doc warnings in
mm/slab.c:Warning(mm/slab.c:2358): No description found for parameter 'cachep' Warning(mm/slab.c:2358): Excess function parameter 'name' description in '
__kmem_cache_create' Warning(mm/slab.c:2358): Excess function parameter 'size' description in '__kmem_cache_create' Warning(mm/slab.c:2358): Excess function parameter 'align' description in '__kmem_cache_create' Warning(mm/slab.c:2358): Excess function parameter 'ctor' description in '__kmem_cache_create'
Quoted 4 lines
Signed-off-by Randy Dunlap <[email protected]>Cc Christoph Lameter <[email protected]>Cc Pekka Enberg <[email protected]>Cc Matt Mackall <[email protected]>
Applied, thanks!
--
To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to [email protected]. For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"[email protected]"> [email protected] </a>