]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitf99cf070ec7e3706ad82e6bb4ad257f00590b5a4
treea8e7a170bff74c9666e6bf26486224a9a5cae688
parent3b763de4c3f2d9970672676438a80b9669bfdb8b
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