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

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

Merge "soc: qcom: ipc_router_glink_xprt: Fix receive callback"

parents 09047449 c30f09b1
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -432,7 +432,7 @@ static void glink_xprt_notify_rxv(void *handle, const void *priv,
		(struct ipc_router_glink_xprt *)priv;
	struct read_work *rx_work;

	rx_work = kmalloc(sizeof(struct read_work), GFP_KERNEL);
	rx_work = kmalloc(sizeof(*rx_work), GFP_ATOMIC);
	if (!rx_work) {
		IPC_RTR_ERR("%s: couldn't allocate read_work\n", __func__);
		glink_rx_done(glink_xprtp->ch_hndl, ptr, true);