diff options
Diffstat (limited to 'drivers/infiniband')
-rw-r--r-- | drivers/infiniband/hw/mlx4/main.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/infiniband/hw/mlx4/main.c b/drivers/infiniband/hw/mlx4/main.c index d8287d9db41e..d2f50b62fcb6 100644 --- a/drivers/infiniband/hw/mlx4/main.c +++ b/drivers/infiniband/hw/mlx4/main.c | |||
@@ -468,6 +468,7 @@ static int init_node_data(struct mlx4_ib_dev *dev) | |||
468 | if (err) | 468 | if (err) |
469 | goto out; | 469 | goto out; |
470 | 470 | ||
471 | dev->dev->rev_id = be32_to_cpup((__be32 *) (out_mad->data + 32)); | ||
471 | memcpy(&dev->ib_dev.node_guid, out_mad->data + 12, 8); | 472 | memcpy(&dev->ib_dev.node_guid, out_mad->data + 12, 8); |
472 | 473 | ||
473 | out: | 474 | out: |