diff options
author | Randy Dunlap <rdunlap@infradead.org> | 2014-07-30 19:08:37 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2014-07-30 20:16:13 -0400 |
commit | 75325189c9e4df5f67eec5ec5b0d90759084887b (patch) | |
tree | 112509548136755c17a97cbfc7d5cde0195ec986 /mm | |
parent | b4903d6e8408e6137ee4666ee67ec566b74a0f05 (diff) |
mm: fix filemap.c pagecache_get_page() kernel-doc warnings
Fix kernel-doc warnings in mm/filemap.c: pagecache_get_page():
Warning(..//mm/filemap.c:1054): No description found for parameter 'cache_gfp_mask'
Warning(..//mm/filemap.c:1054): No description found for parameter 'radix_gfp_mask'
Warning(..//mm/filemap.c:1054): Excess function parameter 'gfp_mask' description in 'pagecache_get_page'
Fixes: 2457aec63745 ("mm: non-atomically mark page accessed during page cache allocation where possible")
[mgorman@suse.de: change everything]
[akpm@linux-foundation.org: coding-style fixes]
Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
Cc: Mel Gorman <mgorman@suse.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'mm')
-rw-r--r-- | mm/filemap.c | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/mm/filemap.c b/mm/filemap.c index dafb06f70a09..900edfaf6df5 100644 --- a/mm/filemap.c +++ b/mm/filemap.c | |||
@@ -1031,18 +1031,21 @@ EXPORT_SYMBOL(find_lock_entry); | |||
1031 | * @mapping: the address_space to search | 1031 | * @mapping: the address_space to search |
1032 | * @offset: the page index | 1032 | * @offset: the page index |
1033 | * @fgp_flags: PCG flags | 1033 | * @fgp_flags: PCG flags |
1034 | * @gfp_mask: gfp mask to use if a page is to be allocated | 1034 | * @cache_gfp_mask: gfp mask to use for the page cache data page allocation |
1035 | * @radix_gfp_mask: gfp mask to use for radix tree node allocation | ||
1035 | * | 1036 | * |
1036 | * Looks up the page cache slot at @mapping & @offset. | 1037 | * Looks up the page cache slot at @mapping & @offset. |
1037 | * | 1038 | * |
1038 | * PCG flags modify how the page is returned | 1039 | * PCG flags modify how the page is returned. |
1039 | * | 1040 | * |
1040 | * FGP_ACCESSED: the page will be marked accessed | 1041 | * FGP_ACCESSED: the page will be marked accessed |
1041 | * FGP_LOCK: Page is return locked | 1042 | * FGP_LOCK: Page is return locked |
1042 | * FGP_CREAT: If page is not present then a new page is allocated using | 1043 | * FGP_CREAT: If page is not present then a new page is allocated using |
1043 | * @gfp_mask and added to the page cache and the VM's LRU | 1044 | * @cache_gfp_mask and added to the page cache and the VM's LRU |
1044 | * list. The page is returned locked and with an increased | 1045 | * list. If radix tree nodes are allocated during page cache |
1045 | * refcount. Otherwise, %NULL is returned. | 1046 | * insertion then @radix_gfp_mask is used. The page is returned |
1047 | * locked and with an increased refcount. Otherwise, %NULL is | ||
1048 | * returned. | ||
1046 | * | 1049 | * |
1047 | * If FGP_LOCK or FGP_CREAT are specified then the function may sleep even | 1050 | * If FGP_LOCK or FGP_CREAT are specified then the function may sleep even |
1048 | * if the GFP flags specified for FGP_CREAT are atomic. | 1051 | * if the GFP flags specified for FGP_CREAT are atomic. |