diff options
author | Dan Carpenter <dan.carpenter@oracle.com> | 2015-12-15 13:11:28 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2016-02-07 22:53:40 -0800 |
commit | e6c0effa0e4dd17b4569bb62eaf6283033d475a4 (patch) | |
tree | 05e9f83b67b2f4e064dd3cdb8e0a894347cf8534 /drivers/pnp | |
parent | f38e87e8c8d326ec6cddfc3f286b605d996a52a3 (diff) | |
download | talos-obmc-linux-e6c0effa0e4dd17b4569bb62eaf6283033d475a4.tar.gz talos-obmc-linux-e6c0effa0e4dd17b4569bb62eaf6283033d475a4.zip |
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>
Diffstat (limited to 'drivers/pnp')
0 files changed, 0 insertions, 0 deletions