mirror of
https://github.com/SCST-project/scst.git
synced 2026-08-20 22:26:23 +00:00
ib_srpt: Port to MOFED 3.0
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6497 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
+5
-1
@@ -701,7 +701,11 @@ static int srpt_refresh_port(struct srpt_port *sport)
|
||||
sport->sm_lid = port_attr.sm_lid;
|
||||
sport->lid = port_attr.lid;
|
||||
|
||||
ret = ib_query_gid(sport->sdev->device, sport->port, 0, &sport->gid);
|
||||
ret = ib_query_gid(sport->sdev->device, sport->port, 0, &sport->gid
|
||||
#ifdef IB_QUERY_GID_HAS_ATTR_ARG
|
||||
, NULL
|
||||
#endif
|
||||
);
|
||||
if (ret)
|
||||
goto err_query_port;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user