summaryrefslogtreecommitdiff
path: root/include/linux/input
diff options
context:
space:
mode:
authorDan Carpenter <dan.carpenter@oracle.com>2015-12-15 13:12:29 +0300
committerLuis Henriques <luis.henriques@canonical.com>2016-01-25 10:43:50 +0000
commitdf3f4f7cb4f412941f6cfe96295ca85a965e04ee (patch)
tree15ca7b228f9e921edebc91e6736b614557583932 /include/linux/input
parent504507b13779118a9cd10787c1822f861d32b269 (diff)
amd-xgbe: fix a couple timeout loops
commit c7557e6a56510ff6636d40ad4ff64a3ef7d9e197 upstream. At the end of the loop we test "if (!count)" but because "count--" is a post-op then the loop will end with count set to -1. I have fixed this by changing it to --count. Fixes: c5aa9e3b8156 ('amd-xgbe: Initial AMD 10GbE platform driver') Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: David S. Miller <davem@davemloft.net> Signed-off-by: Luis Henriques <luis.henriques@canonical.com>
Diffstat (limited to 'include/linux/input')
0 files changed, 0 insertions, 0 deletions