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

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

Merge "ion: Correct argument of Set/ClearPagePrivate of secure CMA"

parents 7fb6cc71 152d2e1d
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -262,7 +262,7 @@ static void ion_secure_cma_free(struct ion_buffer *buffer)
	}

	for_each_sg(sgt->sgl, sg, sgt->nents, i)
		ClearPagePrivate(sg_page(sgt->sgl));
		ClearPagePrivate(sg_page(sg));

	ion_cma_free(buffer);
}
@@ -303,7 +303,7 @@ static int ion_secure_cma_allocate(struct ion_heap *heap,

	/* Set the private bit to indicate that we've secured this */
	for_each_sg(sgt->sgl, sg, sgt->nents, i)
		SetPagePrivate(sg_page(sgt->sgl));
		SetPagePrivate(sg_page(sg));

	return ret;