Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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: 1b7c55c ("liquidio: CN23XX queue manipulation") Signed-off-by: Dan Carpenter <[email protected]> Signed-off-by: David S. Miller <[email protected]>
- Loading branch information