projects
/
platform
/
kernel
/
linux-rpi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
258f669
)
mm/mempool.c: add missing parameter description
author
Mike Rapoport
<rppt@linux.vnet.ibm.com>
Wed, 22 Aug 2018 04:53:03 +0000
(21:53 -0700)
committer
Linus Torvalds
<torvalds@linux-foundation.org>
Wed, 22 Aug 2018 17:52:44 +0000
(10:52 -0700)
The kernel-doc for mempool_init function is missing the description of the
pool parameter. Add it.
Link:
http://lkml.kernel.org/r/1532336274-26228-1-git-send-email-rppt@linux.vnet.ibm.com
Signed-off-by: Mike Rapoport <rppt@linux.vnet.ibm.com>
Acked-by: David Rientjes <rientjes@google.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
mm/mempool.c
patch
|
blob
|
history
diff --git
a/mm/mempool.c
b/mm/mempool.c
index 44f5fa98c1e77f34ce3f56b715e3e38e9755af54..0ef8cc8d1602246a670d4e443ba7624bd2c99df0 100644
(file)
--- a/
mm/mempool.c
+++ b/
mm/mempool.c
@@
-213,6
+213,7
@@
EXPORT_SYMBOL(mempool_init_node);
/**
* mempool_init - initialize a memory pool
/**
* mempool_init - initialize a memory pool
+ * @pool: pointer to the memory pool that should be initialized
* @min_nr: the minimum number of elements guaranteed to be
* allocated for this pool.
* @alloc_fn: user-defined element-allocation function.
* @min_nr: the minimum number of elements guaranteed to be
* allocated for this pool.
* @alloc_fn: user-defined element-allocation function.