linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] mm/mempool: add missing parameter description
@ 2018-07-23  8:57 Mike Rapoport
  2018-07-23 20:19 ` David Rientjes
  0 siblings, 1 reply; 2+ messages in thread
From: Mike Rapoport @ 2018-07-23  8:57 UTC (permalink / raw)
  To: Andrew Morton; +Cc: linux-mm, linux-kernel, Mike Rapoport

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


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] mm/mempool: add missing parameter description
  2018-07-23  8:57 [PATCH] mm/mempool: add missing parameter description Mike Rapoport
@ 2018-07-23 20:19 ` David Rientjes
  0 siblings, 0 replies; 2+ messages in thread
From: David Rientjes @ 2018-07-23 20:19 UTC (permalink / raw)
  To: Mike Rapoport; +Cc: Andrew Morton, linux-mm, linux-kernel

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.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2018-07-23 20:19 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-07-23  8:57 [PATCH] mm/mempool: add missing parameter description Mike Rapoport
2018-07-23 20:19 ` David Rientjes

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).