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

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

Merge "msm: ipa2: fix wrong check for memory allocation"

parents 39d84aef 97f86044
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -745,7 +745,7 @@ int __ipa_commit_rt_v2(enum ipa_ip_type ip)
	if (lcl) {
		cmd2 = kzalloc(sizeof(struct ipa_hw_imm_cmd_dma_shared_mem),
			GFP_KERNEL);
		if (cmd1 == NULL) {
		if (cmd2 == NULL) {
			IPAERR("Failed to alloc immediate command object\n");
			rc = -ENOMEM;
			goto fail_send_cmd1;