summaryrefslogtreecommitdiff
path: root/drivers/fmc
diff options
context:
space:
mode:
authorColin Ian King <colin.king@canonical.com>2017-08-18 12:11:50 +0100
committerDavid S. Miller <davem@davemloft.net>2017-08-18 10:28:06 -0700
commiteac2c68d663effb077210218788952b5a0c1f60e (patch)
treefcd5bc7f3dd1f73d6f767626de623b55eaf8cd36 /drivers/fmc
parentacc8b31665b4cc17b35c4fa445427f7e2f6dc86b (diff)
nfp: fix infinite loop on umapping cleanup
The while loop that performs the dma page unmapping never decrements index counter f and hence loops forever. Fix this with a pre-decrement on f. Detected by CoverityScan, CID#1357309 ("Infinite loop") Fixes: 4c3523623dc0 ("net: add driver for Netronome NFP4000/NFP6000 NIC VFs") Signed-off-by: Colin Ian King <colin.king@canonical.com> Acked-by: Jakub Kicinski <jakub.kicinski@netronome.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/fmc')
0 files changed, 0 insertions, 0 deletions