aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/scripting-engines/trace-event-python.c
diff options
context:
space:
mode:
authorDan Carpenter <[email protected]>2015-12-15 13:12:29 +0300
committerDavid S. Miller <[email protected]>2015-12-15 12:43:01 -0500
commitc7557e6a56510ff6636d40ad4ff64a3ef7d9e197 (patch)
tree5db9dc05cd2fc2dbbf17b1575bdaf01e73bc0094 /tools/perf/util/scripting-engines/trace-event-python.c
parent40d24c4d8a7430aa4dfd7a665fa3faf3b05b673f (diff)
amd-xgbe: fix a couple timeout loops
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 <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions