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

Commit d98d9ee8 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: Fix for NULL pointer dereference"

parents b150ff0f 80be7d6a
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -2246,6 +2246,9 @@ static int fastrpc_get_info(struct fastrpc_file *fl, uint32_t *info)
		if (err)
			goto bail;
	}
	VERIFY(err, fl->sctx != NULL);
	if (err)
		goto bail;
	*info = (fl->sctx->smmu.enabled ? 1 : 0);
bail:
	return err;