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

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

Merge "msm: ADSPRPC: Validate ADSP remote heap memory"

parents cbd59a93 dc28ccc1
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -412,7 +412,7 @@ static void fastrpc_mmap_free(struct fastrpc_mmap *map)
	if (map->flags == ADSP_MMAP_HEAP_ADDR) {
		DEFINE_DMA_ATTRS(attrs);

		if (me->adsp_mem_device != NULL) {
		if (me->adsp_mem_device == NULL) {
			pr_err("failed to free remote heap allocation\n");
			return;
		}