net/mlx4_core: Fix device capabilities dumping
authorOr Gerlitz <ogerlitz@mellanox.com>
Tue, 27 Jan 2015 13:58:08 +0000 (15:58 +0200)
committerDavid S. Miller <davem@davemloft.net>
Wed, 28 Jan 2015 01:12:58 +0000 (17:12 -0800)
commitcb2147a925895f843c1f2e8124878e3e60236063
tree3be1b20974c86a897bf5628d16291f285e4106c6
parent19ab574f6271a2f912a449cfdea14a60098fba90
net/mlx4_core: Fix device capabilities dumping

We are dumping device capabilities which are supported both by the
firmware and the driver. Align the array that holds the capability
strings with this practice.

Reported-by: Yuval Shaia <yuval.shaia@oracle.com>
Signed-off-by: Or Gerlitz <ogerlitz@mellanox.com>
Signed-off-by: Amir Vadai <amirv@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/mellanox/mlx4/fw.c