summaryrefslogtreecommitdiff
path: root/drivers/input/Kconfig
diff options
context:
space:
mode:
authorDan Carpenter <dan.carpenter@oracle.com>2015-12-15 13:11:28 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2016-02-07 22:53:40 -0800
commite6c0effa0e4dd17b4569bb62eaf6283033d475a4 (patch)
tree05e9f83b67b2f4e064dd3cdb8e0a894347cf8534 /drivers/input/Kconfig
parentf38e87e8c8d326ec6cddfc3f286b605d996a52a3 (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>
Diffstat (limited to 'drivers/input/Kconfig')
0 files changed, 0 insertions, 0 deletions