summaryrefslogtreecommitdiff
path: root/drivers/sh
diff options
context:
space:
mode:
authorDan Carpenter <dan.carpenter@oracle.com>2015-12-15 14:06:08 +0300
committerDavid S. Miller <davem@davemloft.net>2015-12-15 12:46:26 -0500
commitfe0be35e2cb6f8f43ae70ecc9fb372142fdf096b (patch)
tree57352ff5c8f6752309b72e076d4aa33f940de785 /drivers/sh
parent351434c6ba92e1fe7799a0c33c1412584a0fb3de (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>
Diffstat (limited to 'drivers/sh')
0 files changed, 0 insertions, 0 deletions