net/mlx5: Fix version printout in case of health issue
authorEli Cohen <eli@mellanox.com>
Fri, 16 Dec 2016 16:30:15 +0000 (10:30 -0600)
committerSaeed Mahameed <saeedm@mellanox.com>
Thu, 19 Jan 2017 21:19:52 +0000 (23:19 +0200)
commit712bfef60912d91033cb25739f7444d5b8d8c59f
tree8c7aff1f68c619e565d6fa85245ac222df3889df
parentf82eed45239988db125d1fc8c52994f3684324c6
net/mlx5: Fix version printout in case of health issue

Firmware representation of the firmware version on the health buffer has
changed for newer device. The representation in the initialization
segment does not and will not change. In addition, we print the health
buffer firmware version as a raw hex number.

Signed-off-by: Eli Cohen <eli@mellanox.com>
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
drivers/net/ethernet/mellanox/mlx5/core/health.c