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

Commit 7f3d86dd authored by Kyle Yan's avatar Kyle Yan Committed by Gerrit - the friendly Code Review server
Browse files

Merge "soc: qcom: glink_smem_native_xprt: Add print for GFP_ATOMIC alloc fail" into msm-4.9

parents 9d84f8dd a3c44d2b
Loading
Loading
Loading
Loading
+7 −2
Original line number Diff line number Diff line
@@ -702,10 +702,15 @@ static void process_rx_data(struct edge_info *einfo, uint16_t cmd_id,
	} else if (intent->data == NULL) {
		if (einfo->intentless) {
			intent->data = kmalloc(cmd.frag_size, GFP_ATOMIC);
			if (!intent->data)
			if (!intent->data) {
				err = true;
			else
				GLINK_ERR(
				"%s: atomic alloc fail ch %d liid %d size %d\n",
						__func__, rcid, intent_id,
						cmd.frag_size);
			} else {
				intent->intent_size = cmd.frag_size;
			}
		} else {
			GLINK_ERR(
				"%s: intent for ch %d liid %d has no data buff\n",