mlx4_core: Fixing array indexes when setting port types
authorYevgeny Petrilin <yevgenyp@mellanox.co.il>
Thu, 23 Feb 2012 07:04:35 +0000 (07:04 +0000)
committerDavid S. Miller <davem@davemloft.net>
Fri, 24 Feb 2012 06:52:45 +0000 (01:52 -0500)
commit1e0f03d57d7092f1f4d93a91fb7ece57b1514a88
treef366e42ce668e4786bc3514afd54aae5fbd8dde6
parente3e09f2645b435062a34a2587a32ae8e5a5b48ab
mlx4_core: Fixing array indexes when setting port types

Signed-off-by: Yevgeny Petrilin <yevgenyp@mellanox.co.il>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/mellanox/mlx4/main.c