Skip to content

Commit 1aab4d7

Browse files
rddunlaptorvalds
authored andcommitted
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 <[email protected]> Acked-by: Mel Gorman <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
1 parent 31dab71 commit 1aab4d7

File tree

1 file changed

+9
-6
lines changed

1 file changed

+9
-6
lines changed

mm/page_alloc.c

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6062,11 +6062,13 @@ static inline int pfn_to_bitidx(struct zone *zone, unsigned long pfn)
60626062
}
60636063

60646064
/**
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
60666066
* @page: The page within the block of interest
6067-
* @start_bitidx: The first bit of interest to retrieve
6068-
* @end_bitidx: The last bit of interest
6069-
* returns pageblock_bits flags
6067+
* @pfn: The target page frame number
6068+
* @end_bitidx: The last bit of interest to retrieve
6069+
* @mask: mask of bits that the caller is interested in
6070+
*
6071+
* Return: pageblock_bits flags
60706072
*/
60716073
unsigned long get_pfnblock_flags_mask(struct page *page, unsigned long pfn,
60726074
unsigned long end_bitidx,
@@ -6091,9 +6093,10 @@ unsigned long get_pfnblock_flags_mask(struct page *page, unsigned long pfn,
60916093
/**
60926094
* set_pfnblock_flags_mask - Set the requested group of flags for a pageblock_nr_pages block of pages
60936095
* @page: The page within the block of interest
6094-
* @start_bitidx: The first bit of interest
6095-
* @end_bitidx: The last bit of interest
60966096
* @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
60976100
*/
60986101
void set_pfnblock_flags_mask(struct page *page, unsigned long flags,
60996102
unsigned long pfn,

0 commit comments

Comments
 (0)