diff options
author | 2015-12-15 13:52:36 +0300 | |
---|---|---|
committer | 2015-12-15 12:46:03 -0500 | |
commit | 351434c6ba92e1fe7799a0c33c1412584a0fb3de (patch) | |
tree | f0d7379e8c1ac78f506c390e378704aeb8d04ead /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | amd-xgbe: fix a couple timeout loops (diff) | |
download | linux-dev-351434c6ba92e1fe7799a0c33c1412584a0fb3de.tar.xz linux-dev-351434c6ba92e1fe7799a0c33c1412584a0fb3de.zip |
qlge: fix a timeout loop in ql_change_rx_buffers()
The problem here is that after the loop we test for "if (!i) " but
because "i--" is a post-op we exit with i set to -1. I have fixed this
by changing it to a pre-op instead. I had to change the starting value
from 3 to 4 so that we still iterate 3 times.
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions