IPoIB: Include return code in trace message for ib_post_send() failures
authorOr Gerlitz <ogerlitz@voltaire.com>
Thu, 4 Mar 2010 13:17:37 +0000 (13:17 +0000)
committerRoland Dreier <rolandd@cisco.com>
Thu, 11 Mar 2010 21:43:11 +0000 (13:43 -0800)
commita48f509b26cec53338f4b0abd52ecea35e3974b8
treee08d069cb636346f64a3fb193f7565ad739b7d58
parentf0dc117abdfa9a0e96c3d013d836460ef3cd08c7
IPoIB: Include return code in trace message for ib_post_send() failures

Print the return code of ib_post_send() if it fails to make these
debugging messages more useful.

Signed-off-by: Or Gerlitz <ogerlitz@voltaire.com>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
drivers/infiniband/ulp/ipoib/ipoib_cm.c
drivers/infiniband/ulp/ipoib/ipoib_ib.c