lkml.org 
[lkml]   [2018]   [Jul]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[PATCH] mm/mempool: add missing parameter description
Date
The kernel-doc for mempool_init function is missing the description of the
pool parameter. Add it.

Signed-off-by: Mike Rapoport <rppt@linux.vnet.ibm.com>
---
mm/mempool.c | 1 +
1 file changed, 1 insertion(+)

diff --git a/mm/mempool.c b/mm/mempool.c
index b54f2c2..9e16b63 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.
--
2.7.4
\
 
 \ /
  Last update: 2018-07-23 10:58    [W:0.062 / U:31.928 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site