diff mbox series

mm/mempool: add missing parameter description

Message ID 1532336274-26228-1-git-send-email-rppt@linux.vnet.ibm.com (mailing list archive)
State New, archived
Headers show
Series mm/mempool: add missing parameter description | expand

Commit Message

Mike Rapoport July 23, 2018, 8:57 a.m. UTC
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(+)

Comments

David Rientjes July 23, 2018, 8:19 p.m. UTC | #1
On Mon, 23 Jul 2018, Mike Rapoport wrote:

> 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>

Acked-by: David Rientjes <rientjes@google.com>

My b.
diff mbox series

Patch

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.