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

Commit 5ed9107d authored by Michael Adisumarta's avatar Michael Adisumarta
Browse files

msm: ipa: Add missing parantheses in ipa.c



Add missing parantheses in ipa.c so the we only fail on
the return case.

Change-Id: I071686d89e96e8d246a7596c62e024c913193319
Signed-off-by: default avatarMichael Adisumarta <madisuma@codeaurora.org>
parent 2f1abb62
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -3237,9 +3237,10 @@ static int ipa3_q6_clean_q6_rt_tbls(enum ipa_ip_type ip,
	}

	desc = kcalloc(2, sizeof(struct ipa3_desc), GFP_KERNEL);
	if (!desc)
	if (!desc) {
		retval = -ENOMEM;
		goto free_empty_img;
	}

	cmd_pyld = kcalloc(2, sizeof(struct ipahal_imm_cmd_pyld *), GFP_KERNEL);
	if (!cmd_pyld) {