aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/infiniband/hw/mthca/mthca_cmd.c2
-rw-r--r--drivers/net/mlx4/fw.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/drivers/infiniband/hw/mthca/mthca_cmd.c b/drivers/infiniband/hw/mthca/mthca_cmd.c
index 38102520ffb3..f40558d76475 100644
--- a/drivers/infiniband/hw/mthca/mthca_cmd.c
+++ b/drivers/infiniband/hw/mthca/mthca_cmd.c
@@ -772,7 +772,7 @@ int mthca_QUERY_FW(struct mthca_dev *dev, u8 *status)
772 772
773 MTHCA_GET(dev->fw_ver, outbox, QUERY_FW_VER_OFFSET); 773 MTHCA_GET(dev->fw_ver, outbox, QUERY_FW_VER_OFFSET);
774 /* 774 /*
775 * FW subminor version is at more signifant bits than minor 775 * FW subminor version is at more significant bits than minor
776 * version, so swap here. 776 * version, so swap here.
777 */ 777 */
778 dev->fw_ver = (dev->fw_ver & 0xffff00000000ull) | 778 dev->fw_ver = (dev->fw_ver & 0xffff00000000ull) |
diff --git a/drivers/net/mlx4/fw.c b/drivers/net/mlx4/fw.c
index cfa5cc072339..ab259b2e11a5 100644
--- a/drivers/net/mlx4/fw.c
+++ b/drivers/net/mlx4/fw.c
@@ -477,7 +477,7 @@ int mlx4_QUERY_FW(struct mlx4_dev *dev)
477 477
478 MLX4_GET(fw_ver, outbox, QUERY_FW_VER_OFFSET); 478 MLX4_GET(fw_ver, outbox, QUERY_FW_VER_OFFSET);
479 /* 479 /*
480 * FW subminor version is at more signifant bits than minor 480 * FW subminor version is at more significant bits than minor
481 * version, so swap here. 481 * version, so swap here.
482 */ 482 */
483 dev->caps.fw_ver = (fw_ver & 0xffff00000000ull) | 483 dev->caps.fw_ver = (fw_ver & 0xffff00000000ull) |