linux-stable/drivers/net/ethernet/qlogic/netxen
Colin Ian King a120d9ab65 netxen: fix incorrect loop counter decrement
The loop counter k is currently being decremented from zero which
is incorrect. Fix this by incrementing k instead

Detected by CoverityScan, CID#401847 ("Infinite loop")

Fixes: 83f18a557c ("netxen_nic: fw dump support")
Signed-off-by: Colin Ian King <colin.king@canonical.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2017-08-18 10:58:33 -07:00
..
Makefile ethernet: Fix FSF address in file headers 2013-12-06 12:37:55 -05:00
netxen_nic.h netxen_nic: Fix trivial typos in comments 2015-03-01 13:40:22 -05:00
netxen_nic_ctx.c netxen_nic: Remove unused pointer hdr in netxen_setup_minidump() 2017-07-03 02:38:02 -07:00
netxen_nic_ethtool.c net: qlogic: netxen: use new api ethtool_{get|set}_link_ksettings 2017-02-17 14:06:41 -05:00
netxen_nic_hdr.h ethernet: Fix FSF address in file headers 2013-12-06 12:37:55 -05:00
netxen_nic_hw.c netxen: fix incorrect loop counter decrement 2017-08-18 10:58:33 -07:00
netxen_nic_hw.h ethernet: Fix FSF address in file headers 2013-12-06 12:37:55 -05:00
netxen_nic_init.c netxen_nic: remove redundant check if retries is zero 2017-03-15 15:04:08 -07:00
netxen_nic_main.c qlogic: netxen: constify bin_attribute structures 2017-02-22 15:39:09 -05:00