Re: [PATCH] netxen: fix incorrect loop counter decrement
From: David Miller
Date: Fri Aug 18 2017 - 13:59:26 EST
From: Colin King <colin.king@xxxxxxxxxxxxx>
Date: Fri, 18 Aug 2017 14:12:06 +0100
> From: Colin Ian King <colin.king@xxxxxxxxxxxxx>
>
> 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 <colin.king@xxxxxxxxxxxxx>
Applied.