Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 9d6c3621 authored by Linux Build Service Account's avatar Linux Build Service Account Committed by Gerrit - the friendly Code Review server
Browse files

Merge "mm/cma: fix alloc_contig_range ret code/potential leak"

parents 94621064 90eee560
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -7428,10 +7428,10 @@ int alloc_contig_range(unsigned long start, unsigned long end,
	}

	/* Make sure the range is really isolated. */
	if (test_pages_isolated(outer_start, end, false)) {
	ret = test_pages_isolated(outer_start, end, false);
	if (ret) {
		pr_info_ratelimited("%s: [%lx, %lx) PFNs busy\n",
			__func__, outer_start, end);
		ret = -EBUSY;
		goto done;
	}