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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 7/11/2012 6:40 PM, Roland Dreier wrote:
On Wed, Jul 11, 2012 at 8:33 AM, Or Gerlitz <ogerlitz@xxxxxxxxxxxx> 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?

Nothing special that I can think of, want me to post v1 with that cast removed?

Or.

--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Photo]     [Yosemite News]     [Yosemite Photos]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux