Commit cb6f0f34 authored by Mike Rapoport's avatar Mike Rapoport Committed by Linus Torvalds

mm/swap.c: make functions and their kernel-doc agree (again)

There was a conflict between the commit e02a9f04 ("mm/swap.c: make
functions and their kernel-doc agree") and the commit f144c390 ("mm:
docs: fix parameter names mismatch") that both tried to fix mismatch
betweeen pagevec_lookup_entries() parameter names and their description.

Since nr_entries is a better name for the parameter, fix the description
again.

Link: http://lkml.kernel.org/r/1518116946-20947-1-git-send-email-rppt@linux.vnet.ibm.comSigned-off-by: default avatarMike Rapoport <rppt@linux.vnet.ibm.com>
Acked-by: default avatarRandy Dunlap <rdunlap@infradead.org>
Reviewed-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Cc: Matthew Wilcox <willy@infradead.org>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent 14fec9eb
...@@ -925,7 +925,7 @@ EXPORT_SYMBOL(__pagevec_lru_add); ...@@ -925,7 +925,7 @@ EXPORT_SYMBOL(__pagevec_lru_add);
* @pvec: Where the resulting entries are placed * @pvec: Where the resulting entries are placed
* @mapping: The address_space to search * @mapping: The address_space to search
* @start: The starting entry index * @start: The starting entry index
* @nr_pages: The maximum number of pages * @nr_entries: The maximum number of pages
* @indices: The cache indices corresponding to the entries in @pvec * @indices: The cache indices corresponding to the entries in @pvec
* *
* pagevec_lookup_entries() will search for and return a group of up * pagevec_lookup_entries() will search for and return a group of up
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment