]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit9b281ec01b1cc929e1822bd590397e0fcf68d8f2
tree3be1b20974c86a897bf5628d16291f285e4106c6
parent80f700a7aa9d8bea59bce1d8c6f9710500151ff4
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