commit | fe0be35e2cb6f8f43ae70ecc9fb372142fdf096b | [log] [tgz] |
---|---|---|
author | Dan Carpenter <dan.carpenter@oracle.com> | Tue Dec 15 14:06:08 2015 +0300 |
committer | David S. Miller <davem@davemloft.net> | Tue Dec 15 12:46:26 2015 -0500 |
tree | 57352ff5c8f6752309b72e076d4aa33f940de785 | |
parent | 351434c6ba92e1fe7799a0c33c1412584a0fb3de [diff] |
sfc: fix a timeout loop We test for if "tries" is zero at the end but "tries--" is a post-op so it will end with "tries" set to -1. I have changed it to a pre-op instead. Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: David S. Miller <davem@davemloft.net>