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

Commit 1eba843d authored by Michael Heinz's avatar Michael Heinz Committed by Roland Dreier
Browse files

IB/mad: Improve an error message so error code is included

parent 1bdd6384
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -101,7 +101,8 @@ void agent_send_response(struct ib_mad *mad, struct ib_grh *grh,
	agent = port_priv->agent[qpn];
	ah = ib_create_ah_from_wc(agent->qp->pd, wc, grh, port_num);
	if (IS_ERR(ah)) {
		printk(KERN_ERR SPFX "ib_create_ah_from_wc error\n");
		printk(KERN_ERR SPFX "ib_create_ah_from_wc error %ld\n",
			PTR_ERR(ah));
		return;
	}