]> www.infradead.org Git - users/jedix/linux-maple.git/commit
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)
committerChuck Anderson <chuck.anderson@oracle.com>
Mon, 6 Mar 2017 05:00:31 +0000 (21:00 -0800)
commit943af4ec10764a1cf4821d5f07149a408f140b6e
tree073c7d171c08279e33b77c4904005c661a1901f4
parent0e927416f3b5b93da30d7dcbdf5bd40cd2dbd65d
qede: Prevent index problems in loopback test

Orabug: 25477939

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>
(cherry picked from commit afe981d664aeeebc8d1bcbd7d2070b5432edaecb)
Signed-off-by: Brian Maly <brian.maly@oracle.com>
drivers/net/ethernet/qlogic/qede/qede_ethtool.c