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

Commit d933dee0 authored by qctecmdr's avatar qctecmdr Committed by Gerrit - the friendly Code Review server
Browse files

Merge "soc: qcom: mem-offline: Check return value from mbox_send_msg properly"

parents 61096d91 fcb75633
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -170,7 +170,7 @@ static int aop_send_msg(unsigned long addr, bool online)


	pkt.size = MAX_LEN;
	pkt.size = MAX_LEN;
	pkt.data = mbox_msg;
	pkt.data = mbox_msg;
	return mbox_send_message(mailbox.mbox, &pkt);
	return (mbox_send_message(mailbox.mbox, &pkt) < 0);
}
}


static int send_msg(struct memory_notify *mn, bool online)
static int send_msg(struct memory_notify *mn, bool online)