qede: Prevent index problems in loopback test
authorSudarsana Reddy Kalluru <Sudarsana.Kalluru@cavium.com>
Mon, 20 Feb 2017 20:43:37 +0000 (22:43 +0200)
committerDavid S. Miller <davem@davemloft.net>
Mon, 20 Feb 2017 22:11:54 +0000 (17:11 -0500)
commitafe981d664aeeebc8d1bcbd7d2070b5432edaecb
tree51e8a2f69fecc33ff4e065c2075aff24c97a1d9a
parent33b2fbd0a8d3c556b802d8753ac5bb3e8f90e988
qede: Prevent index problems in loopback test

Driver currently utilizes the same loop variable in two
nested loops.

Signed-off-by: Sudarsana Reddy Kalluru <Sudarsana.Kalluru@cavium.com>
Signed-off-by: Yuval Mintz <Yuval.Mintz@cavium.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/qlogic/qede/qede_ethtool.c