IB/srp: Check ib_query_gid return value
authorSagi Grimberg <sagig@mellanox.com>
Fri, 14 Mar 2014 12:51:58 +0000 (13:51 +0100)
committerRoland Dreier <roland@purestorage.com>
Mon, 24 Mar 2014 17:05:30 +0000 (10:05 -0700)
commit2088ca66f5e986c06dc1deb4e2f004218b652300
treee9c9fe63b8f926fc28f7b24e33eddfa814dc4045
parent6751360514b604f2d69d00e64b5de0007e01e36e
IB/srp: Check ib_query_gid return value

Detected by Coverity.

Signed-off-by: Sagi Grimberg <sagig@mellanox.com>
Signed-off-by: Bart Van Assche <bvanassche@acm.org>
Signed-off-by: Roland Dreier <roland@purestorage.com>
drivers/infiniband/ulp/srp/ib_srp.c