diff options
author | Randy Dunlap <rdunlap@infradead.org> | 2012-11-06 20:10:10 -0500 |
---|---|---|
committer | Pekka Enberg <penberg@kernel.org> | 2012-11-15 03:01:08 -0500 |
commit | a755b76ab4cefe3d3aa046f3abc62b7e087336b3 (patch) | |
tree | 802d739ec4819b4b9dc2e6d7c4af10e4640e0dff /mm/slab.c | |
parent | 789306e5ad6b3051c263ac2478875efa8bc07462 (diff) |
mm: fix slab.c kernel-doc warnings
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'
Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
Cc: Christoph Lameter <cl@linux-foundation.org>
Cc: Pekka Enberg <penberg@kernel.org>
Cc: Matt Mackall <mpm@selenic.com>
Signed-off-by: Pekka Enberg <penberg@kernel.org>
Diffstat (limited to 'mm/slab.c')
-rw-r--r-- | mm/slab.c | 5 |
1 files changed, 1 insertions, 4 deletions
@@ -2314,11 +2314,8 @@ static int __init_refok setup_cpu_cache(struct kmem_cache *cachep, gfp_t gfp) | |||
2314 | 2314 | ||
2315 | /** | 2315 | /** |
2316 | * __kmem_cache_create - Create a cache. | 2316 | * __kmem_cache_create - Create a cache. |
2317 | * @name: A string which is used in /proc/slabinfo to identify this cache. | 2317 | * @cachep: cache management descriptor |
2318 | * @size: The size of objects to be created in this cache. | ||
2319 | * @align: The required alignment for the objects. | ||
2320 | * @flags: SLAB flags | 2318 | * @flags: SLAB flags |
2321 | * @ctor: A constructor for the objects. | ||
2322 | * | 2319 | * |
2323 | * Returns a ptr to the cache on success, NULL on failure. | 2320 | * Returns a ptr to the cache on success, NULL on failure. |
2324 | * Cannot be called within a int, but can be interrupted. | 2321 | * Cannot be called within a int, but can be interrupted. |