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

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

Merge "dma-contiguous: Re-order the error handling sequence"

parents 982a7dc6 5b2530f6
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -637,8 +637,8 @@ unsigned long dma_alloc_from_contiguous(struct device *dev, int count,
		if (ret == 0) {
			break;
		} else if (ret != -EBUSY) {
			pfn = 0;
			clear_cma_bitmap(cma, pfn, count);
			pfn = 0;
			break;
		}
		clear_cma_bitmap(cma, pfn, count);