IB/core: Add netdev and gid attributes paramteres to cache
[linux-2.6-block.git] / drivers / infiniband / ulp / srpt / ib_srpt.c
index f6fe0414139beeafa3ddfba0ed33bf1ebc6a7489..a7ac77a02593af24cd4cea86e63e5997dbb55b3e 100644 (file)
@@ -546,7 +546,8 @@ 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,
+                          NULL);
        if (ret)
                goto err_query_port;