On Sat, 7 Aug 2021 17:36:15 +0800 Miaohe Lin <linmiaohe@xxxxxxxxxx> wrote: > Hi all, > This series contains cleanups to remove unneeded variable, useless > BUG_ON and use helper to improve readability. Also we fix a potential > pgmap refcnt leak. More details can be found in the respective > changelogs. Thanks! > > Miaohe Lin (5): > mm: gup: remove set but unused local variable major > mm: gup: remove unneed local variable orig_refs > mm: gup: remove useless BUG_ON in __get_user_pages() > mm: gup: fix potential pgmap refcnt leak in __gup_device_huge() > mm: gup: use helper PAGE_ALIGNED in populate_vma_page_range() > > mm/gup.c | 16 ++++++---------- > 1 file changed, 6 insertions(+), 10 deletions(-) > Whole series (including the fixup for the return value): Reviewed-by: Claudio Imbrenda <imbrenda@xxxxxxxxxxxxx>