aboutsummaryrefslogtreecommitdiffstats
path: root/mm
diff options
context:
space:
mode:
authorRandy Dunlap <rdunlap@infradead.org>2014-07-27 17:15:33 -0400
committerLinus Torvalds <torvalds@linux-foundation.org>2014-07-29 13:13:31 -0400
commit1aab4d772ece470135bee47529d3f7c6d68609fa (patch)
tree1e9b5445412b09773ea95de400e0cdd95898a086 /mm
parent31dab719fa50cf56d56d3dc25980fecd336f6ca8 (diff)
mm: fix page_alloc.c kernel-doc warnings
Fix kernel-doc warnings and function name in mm/page_alloc.c: Warning(..//mm/page_alloc.c:6074): No description found for parameter 'pfn' Warning(..//mm/page_alloc.c:6074): No description found for parameter 'mask' Warning(..//mm/page_alloc.c:6074): Excess function parameter 'start_bitidx' description in 'get_pfnblock_flags_mask' Warning(..//mm/page_alloc.c:6102): No description found for parameter 'pfn' Warning(..//mm/page_alloc.c:6102): No description found for parameter 'mask' Warning(..//mm/page_alloc.c:6102): Excess function parameter 'start_bitidx' description in 'set_pfnblock_flags_mask' Signed-off-by: Randy Dunlap <rdunlap@infradead.org> Acked-by: Mel Gorman <mgorman@suse.de> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'mm')
-rw-r--r--mm/page_alloc.c15
1 files changed, 9 insertions, 6 deletions
diff --git a/mm/page_alloc.c b/mm/page_alloc.c
index 0ea758b898fd..8bcfe3ae20cb 100644
--- a/mm/page_alloc.c
+++ b/mm/page_alloc.c
@@ -6062,11 +6062,13 @@ static inline int pfn_to_bitidx(struct zone *zone, unsigned long pfn)
6062} 6062}
6063 6063
6064/** 6064/**
6065 * get_pageblock_flags_group - Return the requested group of flags for the pageblock_nr_pages block of pages 6065 * get_pfnblock_flags_mask - Return the requested group of flags for the pageblock_nr_pages block of pages
6066 * @page: The page within the block of interest 6066 * @page: The page within the block of interest
6067 * @start_bitidx: The first bit of interest to retrieve 6067 * @pfn: The target page frame number
6068 * @end_bitidx: The last bit of interest 6068 * @end_bitidx: The last bit of interest to retrieve
6069 * returns pageblock_bits flags 6069 * @mask: mask of bits that the caller is interested in
6070 *
6071 * Return: pageblock_bits flags
6070 */ 6072 */
6071unsigned long get_pfnblock_flags_mask(struct page *page, unsigned long pfn, 6073unsigned long get_pfnblock_flags_mask(struct page *page, unsigned long pfn,
6072 unsigned long end_bitidx, 6074 unsigned long end_bitidx,
@@ -6091,9 +6093,10 @@ unsigned long get_pfnblock_flags_mask(struct page *page, unsigned long pfn,
6091/** 6093/**
6092 * set_pfnblock_flags_mask - Set the requested group of flags for a pageblock_nr_pages block of pages 6094 * set_pfnblock_flags_mask - Set the requested group of flags for a pageblock_nr_pages block of pages
6093 * @page: The page within the block of interest 6095 * @page: The page within the block of interest
6094 * @start_bitidx: The first bit of interest
6095 * @end_bitidx: The last bit of interest
6096 * @flags: The flags to set 6096 * @flags: The flags to set
6097 * @pfn: The target page frame number
6098 * @end_bitidx: The last bit of interest
6099 * @mask: mask of bits that the caller is interested in
6097 */ 6100 */
6098void set_pfnblock_flags_mask(struct page *page, unsigned long flags, 6101void set_pfnblock_flags_mask(struct page *page, unsigned long flags,
6099 unsigned long pfn, 6102 unsigned long pfn,