summaryrefslogtreecommitdiffstats
path: root/mm/mempool.c
diff options
context:
space:
mode:
authorMike Rapoport2018-08-22 06:53:03 +0200
committerLinus Torvalds2018-08-22 19:52:44 +0200
commita3bf6ce366496016990d8578af74673ea04178ff (patch)
treea4e1b9a43588444521a2d5deccfa79cbf11d8154 /mm/mempool.c
parentmm: /proc/pid/smaps_rollup: convert to single value seq_file (diff)
downloadkernel-qcow2-linux-a3bf6ce366496016990d8578af74673ea04178ff.tar.gz
kernel-qcow2-linux-a3bf6ce366496016990d8578af74673ea04178ff.tar.xz
kernel-qcow2-linux-a3bf6ce366496016990d8578af74673ea04178ff.zip
mm/mempool.c: add missing parameter description
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>
Diffstat (limited to 'mm/mempool.c')
-rw-r--r--mm/mempool.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/mm/mempool.c b/mm/mempool.c
index 44f5fa98c1e7..0ef8cc8d1602 100644
--- a/mm/mempool.c
+++ b/mm/mempool.c
@@ -213,6 +213,7 @@ EXPORT_SYMBOL(mempool_init_node);
/**
* 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.