]> 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)
commit5c3596b4eaf1b86b60332b4652eef33dbfb04dd3
tree3be1b20974c86a897bf5628d16291f285e4106c6
parent7b55081fd1409e805b12cbea5016ae07129f712a
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