summaryrefslogtreecommitdiffstats
path: root/drivers/infiniband/hw
diff options
context:
space:
mode:
authorMiroslaw Walukiewicz <Miroslaw.Walukiewicz@intel.com>2010-07-15 16:53:29 +0200
committerRoland Dreier <rolandd@cisco.com>2010-08-04 22:22:28 +0200
commitff0380ce3928e162d5b417ac88124d87b34d63a7 (patch)
treeaeee299779c2ccccdf0fa53d61f2d5ca32a6e06d /drivers/infiniband/hw
parentRDMA/nes: Fix two sparse warnings (diff)
downloadlinux-ff0380ce3928e162d5b417ac88124d87b34d63a7.tar.xz
linux-ff0380ce3928e162d5b417ac88124d87b34d63a7.zip
RDMA/nes: Read firmware version from correct place
Signed-off-by: Mirek Walukiewicz <miroslaw.walukiewicz@intel.com> Signed-off-by: Roland Dreier <rolandd@cisco.com>
Diffstat (limited to 'drivers/infiniband/hw')
-rw-r--r--drivers/infiniband/hw/nes/nes_verbs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/infiniband/hw/nes/nes_verbs.c b/drivers/infiniband/hw/nes/nes_verbs.c
index 3b50dc521b97..3638b834a1a8 100644
--- a/drivers/infiniband/hw/nes/nes_verbs.c
+++ b/drivers/infiniband/hw/nes/nes_verbs.c
@@ -518,7 +518,7 @@ static int nes_query_device(struct ib_device *ibdev, struct ib_device_attr *prop
memset(props, 0, sizeof(*props));
memcpy(&props->sys_image_guid, nesvnic->netdev->dev_addr, 6);
- props->fw_ver = nesdev->nesadapter->fw_ver;
+ props->fw_ver = nesdev->nesadapter->firmware_version;
props->device_cap_flags = nesdev->nesadapter->device_cap_flags;
props->vendor_id = nesdev->nesadapter->vendor_id;
props->vendor_part_id = nesdev->nesadapter->vendor_part_id;