diff options
author | Colin Ian King <colin.king@canonical.com> | 2017-08-18 15:12:06 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-08-18 19:58:33 +0200 |
commit | a120d9ab65354727559b9db75ded8071b7ef19e2 (patch) | |
tree | adf2dd18549834743e6e0d8ec8f805b56def2ac1 /Documentation | |
parent | nfp: fix infinite loop on umapping cleanup (diff) | |
download | linux-a120d9ab65354727559b9db75ded8071b7ef19e2.tar.xz linux-a120d9ab65354727559b9db75ded8071b7ef19e2.zip |
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: 83f18a557c6d ("netxen_nic: fw dump support")
Signed-off-by: Colin Ian King <colin.king@canonical.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'Documentation')
0 files changed, 0 insertions, 0 deletions