* [PATCH] mm: fix slab.c kernel-doc warnings
@ 2012-11-07 1:10 Randy Dunlap
2012-11-15 8:01 ` Pekka Enberg
0 siblings, 1 reply; 2+ messages in thread
From: Randy Dunlap @ 2012-11-07 1:10 UTC (permalink / raw)
To: linux-mm; +Cc: Andrew Morton, Christoph Lameter, Pekka Enberg, Matt Mackall
From: Randy Dunlap <rdunlap@infradead.org>
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>
---
mm/slab.c | 5 +----
1 file changed, 1 insertion(+), 4 deletions(-)
--- lnx-37-rc4.orig/mm/slab.c
+++ lnx-37-rc4/mm/slab.c
@@ -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 majordomo@kvack.org. For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH] mm: fix slab.c kernel-doc warnings
2012-11-07 1:10 [PATCH] mm: fix slab.c kernel-doc warnings Randy Dunlap
@ 2012-11-15 8:01 ` Pekka Enberg
0 siblings, 0 replies; 2+ messages in thread
From: Pekka Enberg @ 2012-11-15 8:01 UTC (permalink / raw)
To: Randy Dunlap; +Cc: linux-mm, Andrew Morton, Christoph Lameter, Matt Mackall
On Tue, 6 Nov 2012, Randy Dunlap wrote:
> From: Randy Dunlap <rdunlap@infradead.org>
>
> 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>
Applied, thanks!
--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org. For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2012-11-15 8:01 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-11-07 1:10 [PATCH] mm: fix slab.c kernel-doc warnings Randy Dunlap
2012-11-15 8:01 ` Pekka Enberg
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).