Re: [PATCH] netxen: fix incorrect loop counter decrement

2017-08-18 Thread David Miller
From: Colin King Date: Fri, 18 Aug 2017 14:12:06 +0100 > From: Colin Ian King > > 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: 83f18a557c6d ("netxen_ni

[PATCH] netxen: fix incorrect loop counter decrement

2017-08-18 Thread Colin King
From: Colin Ian King 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: 83f18a557c6d ("netxen_nic: fw dump support") Signed-off-by: Colin Ian King --- drivers/net/ethe