aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/call-graph-from-postgresql.py
diff options
context:
space:
mode:
authorDan Carpenter <[email protected]>2017-04-21 13:51:43 +0300
committerCK Hu <[email protected]>2017-05-22 13:49:11 +0800
commitf752413e26bdc9f73a8a12e280770646555c82fc (patch)
tree42376cc73937b9b6204a0d81fe42ece0bd48da54 /tools/perf/scripts/python/call-graph-from-postgresql.py
parent2ea659a9ef488125eb46da6eb571de5eae5c43f6 (diff)
drm/mediatek: fix a timeout loop
This code causes a static checker warning because it treats "i == 0" as a timeout but, because it's a post-op, the loop actually ends with "i" set to -1. Philipp Zabel points out that it would be cleaner to use readl_poll_timeout() instead. Fixes: 21898816831f ("drm/mediatek: add dsi transfer function") Signed-off-by: Dan Carpenter <[email protected]> Signed-off-by: CK Hu <[email protected]> Reviewed-by: Philipp Zabel <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions