summaryrefslogtreecommitdiffstats
path: root/drivers/mcb
diff options
context:
space:
mode:
authorDan Carpenter <dan.carpenter@oracle.com>2016-10-13 10:56:57 +0200
committerDavid S. Miller <davem@davemloft.net>2016-10-13 18:12:50 +0200
commit10f6c4d6ab2cdde768e29f41fbfbdde6c91fd1ff (patch)
tree894ec103f7821c783a42274bd17e61cfaeeca103 /drivers/mcb
parentnet: rtnl: info leak in rtnl_fill_vfinfo() (diff)
downloadlinux-10f6c4d6ab2cdde768e29f41fbfbdde6c91fd1ff.tar.xz
linux-10f6c4d6ab2cdde768e29f41fbfbdde6c91fd1ff.zip
liquidio: CN23XX: fix a loop timeout
This is supposed to loop 1000 times and then give up. The problem is it's a post-op and after the loop we test if "loop" is zero when really it would be -1. Fix this by making it a pre-op. Fixes: 1b7c55c4538b ("liquidio: CN23XX queue manipulation") Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/mcb')
0 files changed, 0 insertions, 0 deletions