Message ID | 20230903151328.2981432-4-joel@joelfernandes.org (mailing list archive) |
---|---|
State | Accepted |
Commit | 99eb26d59ce38a9f9ac0d63421deca6073f45086 |
Headers | show |
Series | Optimize mremap during mutual alignment within PMD | expand |
diff --git a/tools/testing/selftests/mm/mremap_test.c b/tools/testing/selftests/mm/mremap_test.c index 5c3773de9f0f..6822d657f589 100644 --- a/tools/testing/selftests/mm/mremap_test.c +++ b/tools/testing/selftests/mm/mremap_test.c @@ -316,7 +316,7 @@ static long long remap_region(struct config c, unsigned int threshold_mb, if (addr + c.dest_alignment < addr) { ksft_print_msg("Couldn't find a valid region to remap to\n"); ret = -1; - goto out; + goto clean_up_src; } addr += c.dest_alignment; }