2011-05-27 21:34:48

by Randy Dunlap

[permalink] [raw]
Subject: [PATCH] mm: fix memory.c kernel-doc notation

From: Randy Dunlap <[email protected]>

Fix new kernel-doc warnings in mm/memory.c:

Warning(mm/memory.c:1327): No description found for parameter 'tlb'
Warning(mm/memory.c:1327): Excess function parameter 'tlbp' description in 'unmap_vmas'

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

--- linux-2.6.39-git14.orig/mm/memory.c
+++ linux-2.6.39-git14/mm/memory.c
@@ -1296,7 +1296,7 @@ static unsigned long unmap_page_range(st

/**
* unmap_vmas - unmap a range of memory covered by a list of vma's
- * @tlbp: address of the caller's struct mmu_gather
+ * @tlb: address of the caller's struct mmu_gather
* @vma: the starting vma
* @start_addr: virtual address at which to start unmapping
* @end_addr: virtual address at which to end unmapping