2011-05-16 20:17:09

by Randy Dunlap

[permalink] [raw]
Subject: [PATCH] mm: fix kernel-doc warning in page_alloc.c

From: Randy Dunlap <[email protected]>

Fix new kernel-doc warning in mm/page_alloc.c:

Warning(mm/page_alloc.c:2370): No description found for parameter 'nid'

Signed-off-by: Randy Dunlap <[email protected]>
---
mm/page_alloc.c | 1 +
1 file changed, 1 insertion(+)

--- linux-2.6.39-rc7-git10.orig/mm/page_alloc.c
+++ linux-2.6.39-rc7-git10/mm/page_alloc.c
@@ -2358,6 +2358,7 @@ EXPORT_SYMBOL(alloc_pages_exact);
/**
* alloc_pages_exact_nid - allocate an exact number of physically-contiguous
* pages on a node.
+ * @nid: the preferred node ID where memory should be allocated
* @size: the number of bytes to allocate
* @gfp_mask: GFP flags for the allocation
*