commit | e6c0effa0e4dd17b4569bb62eaf6283033d475a4 | [log] [tgz] |
---|---|---|
author | Dan Carpenter <dan.carpenter@oracle.com> | Tue Dec 15 13:11:28 2015 +0300 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Sun Feb 07 22:53:40 2016 -0800 |
tree | 05e9f83b67b2f4e064dd3cdb8e0a894347cf8534 | |
parent | f38e87e8c8d326ec6cddfc3f286b605d996a52a3 [diff] |
mic_virtio: fix a timeout loop After the loop we test "if (!retry)" to see if we timedout. The problem is "retry--" is a post-op so retry will be -1 at the end of the loop. I have fixed this by changing it to a pre-op instead. Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>