]> Git Repo - linux.git/commit
mm/swap.c: make functions and their kernel-doc agree
authorRandy Dunlap <[email protected]>
Thu, 1 Feb 2018 00:21:19 +0000 (16:21 -0800)
committerLinus Torvalds <[email protected]>
Thu, 1 Feb 2018 01:18:40 +0000 (17:18 -0800)
commite02a9f048ef79a411904bef075fd3ce4204052a9
tree442108a49402a43a88c814f5f5cf75722017c206
parent9bb5a391f9a5707e04763cf14298fc4cc29bfecd
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]>
mm/swap.c
This page took 0.05163 seconds and 4 git commands to generate.