2018-07-23 08:59:11

by Mike Rapoport

[permalink] [raw]
Subject: [PATCH] mm/mempool: add missing parameter description

The kernel-doc for mempool_init function is missing the description of the
pool parameter. Add it.

Signed-off-by: Mike Rapoport <[email protected]>
---
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



2018-07-23 20:20:21

by David Rientjes

[permalink] [raw]
Subject: Re: [PATCH] mm/mempool: add missing parameter description

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 <[email protected]>

Acked-by: David Rientjes <[email protected]>

My b.