Thread (1 message) 1 message, 1 author, 2012-07-11

Re: [PATCH for-next 1/6] IB/mthca: Events received for non-existent QPs should generate a warning

From: Roland Dreier <hidden>
Date: 2012-07-11 15:40:11

On Wed, Jul 11, 2012 at 8:33 AM, Or Gerlitz [off-list ref] wrote:
-               mthca_warn(dev, "Async event for bogus QP %08x\n", qpn);
+               mthca_warn(dev, "Async event %d for bogus QP %08x\n",
+                         (int) event_type, qpn);
Looks fine -- just wondering if there's a reason to cast from enum to int?
--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help