diff options
| author | Randy Dunlap <[email protected]> | 2018-02-01 00:21:19 +0000 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2018-02-01 01:18:40 +0000 |
| commit | e02a9f048ef79a411904bef075fd3ce4204052a9 (patch) | |
| tree | 442108a49402a43a88c814f5f5cf75722017c206 /fs/jbd2/commit.c | |
| parent | mm, memory_hotplug: fix memmap initialization (diff) | |
| download | kernel-e02a9f048ef79a411904bef075fd3ce4204052a9.tar.gz kernel-e02a9f048ef79a411904bef075fd3ce4204052a9.zip | |
mm/swap.c: make functions and their kernel-doc agree
Fix some basic kernel-doc notation in mm/swap.c:
- for function lru_cache_add_anon(), make its kernel-doc function name
match its function name and change colon to hyphen following the
function name
- for function pagevec_lookup_entries(), change the function parameter
name from nr_pages to nr_entries since that is more descriptive of
what the parameter actually is and then it matches the kernel-doc
comments also
Fix function kernel-doc to match the change in commit 67fd707f4681:
- drop the kernel-doc notation for @nr_pages from
pagevec_lookup_range() and correct the function description for that
change
Link: http://lkml.kernel.org/r/[email protected]
Fixes: 67fd707f4681 ("mm: remove nr_pages argument from pagevec_lookup_{,range}_tag()")
Signed-off-by: Randy Dunlap <[email protected]>
Reviewed-by: Andrew Morton <[email protected]>
Cc: Jan Kara <[email protected]>
Cc: Matthew Wilcox <[email protected]>
Cc: Hugh Dickins <[email protected]>
Cc: Michal Hocko <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'fs/jbd2/commit.c')
0 files changed, 0 insertions, 0 deletions
