diff --git a/mm/gup.c b/mm/gup.c index 364b274a10c23eb51c77629a9415c83cf22910d9..c6d060dee9e07f3c0cef32ee13263f5e82f873e6 100644 --- a/mm/gup.c +++ b/mm/gup.c @@ -1980,8 +1980,8 @@ static long check_and_migrate_movable_pages(unsigned long nr_pages, folio_nr_pages(folio)); } - if (!list_empty(&movable_page_list) || isolation_error_count - || coherent_pages) + if (!list_empty(&movable_page_list) || isolation_error_count || + coherent_pages) goto unpin_pages; /*