aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/infiniband/hw
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/infiniband/hw')
-rw-r--r--drivers/infiniband/hw/mthca/mthca_provider.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/infiniband/hw/mthca/mthca_provider.c b/drivers/infiniband/hw/mthca/mthca_provider.c
index 6d310258cafd..f8e68b9db84e 100644
--- a/drivers/infiniband/hw/mthca/mthca_provider.c
+++ b/drivers/infiniband/hw/mthca/mthca_provider.c
@@ -53,7 +53,7 @@ static int mthca_query_device(struct ib_device *ibdev,
53 if (!in_mad || !out_mad) 53 if (!in_mad || !out_mad)
54 goto out; 54 goto out;
55 55
56 memset(props, 0, sizeof props); 56 memset(props, 0, sizeof *props);
57 57
58 props->fw_ver = mdev->fw_ver; 58 props->fw_ver = mdev->fw_ver;
59 59