IPoIB: Include err code in trace message for ib_sa_path_rec_get() failures
authorOr Gerlitz <ogerlitz@voltaire.com>
Tue, 22 Jul 2008 21:18:34 +0000 (14:18 -0700)
committerRoland Dreier <rolandd@cisco.com>
Tue, 22 Jul 2008 21:18:34 +0000 (14:18 -0700)
commit01b3fc8b15432f7931e40fe099839e1559fb0e09
treeeaa7a17870cd3a069d4b87326f34930d28dd83f2
parent64b784b583061ebfe1d484dd1fdc5a26c6d4293f
IPoIB: Include err code in trace message for ib_sa_path_rec_get() failures

Print the return code of ib_sa_path_rec_get() if it fails to help
debug errors.

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