mm/gup: Change the calling convention for compound_range_next()
authorMatthew Wilcox (Oracle) <willy@infradead.org>
Sun, 9 Jan 2022 21:05:11 +0000 (16:05 -0500)
committerMatthew Wilcox (Oracle) <willy@infradead.org>
Mon, 21 Mar 2022 16:56:34 +0000 (12:56 -0400)
commit8f39f5fcb7963f0a01b8077c92e627af279de65e
treea8e7a170bff74c9666e6bf26486224a9a5cae688
parente76027488640802633c646210781b63221c2fdd2
mm/gup: Change the calling convention for compound_range_next()

Return the head page instead of storing it to a passed parameter.
Pass the start page directly instead of passing a pointer to it.
Reorder the arguments to match the calling function's arguments.

Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org>
Reviewed-by: John Hubbard <jhubbard@nvidia.com>
Reviewed-by: Jason Gunthorpe <jgg@nvidia.com>
Reviewed-by: William Kucharski <william.kucharski@oracle.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
mm/gup.c