diff --git a/mm/hmm.c b/mm/hmm.c index 0e7a57246f03..09fc4569468e 100644 --- a/mm/hmm.c +++ b/mm/hmm.c @@ -402,7 +402,7 @@ again: pmd_migration_entry_wait(walk->mm, pmdp); return -EBUSY; } - return 0; + return hmm_pfns_fill(start, end, range, HMM_PFN_NONE); } else if (!pmd_present(pmd)) return hmm_pfns_fill(start, end, range, HMM_PFN_ERROR);