IB/mlx5: Fix FW version diaplay in sysfs
authorEran Ben Elisha <eranbe@mellanox.com>
Sat, 4 Jun 2016 12:15:30 +0000 (15:15 +0300)
committerDoug Ledford <dledford@redhat.com>
Tue, 7 Jun 2016 14:03:49 +0000 (10:03 -0400)
commitc0fcebf55289c48148992eee002a7caf853a5358
tree81c40dc990afc86bb9073ae6ec5161553b934cce
parent2788cf3bd90af3791c3195c52391bcf34fa67b40
IB/mlx5: Fix FW version diaplay in sysfs

Add a 4-digit padding to show FW version in proper format.

Fixes: 9603b61de1eee ('mlx5: Move pci device handling from...')
Signed-off-by: Eran Ben Elisha <eranbe@mellanox.com>
Signed-off-by: Noa Osherovich <noaos@mellanox.com>
Signed-off-by: Leon Romanovsky <leon@kernel.org>
Signed-off-by: Doug Ledford <dledford@redhat.com>
drivers/infiniband/hw/mlx5/main.c