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

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

Merge "staging: ion: Return correct type from map_kernel"

parents eb5bbf95 2e09e721
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -41,7 +41,7 @@ void *ion_heap_map_kernel(struct ion_heap *heap,
	struct page **tmp = pages;

	if (!pages)
		return NULL;
		return ERR_PTR(-ENOMEM);

	if (buffer->flags & ION_FLAG_CACHED)
		pgprot = PAGE_KERNEL;