diff options
author | Chris Wilson <[email protected]> | 2018-01-29 10:28:40 +0000 |
---|---|---|
committer | Chris Wilson <[email protected]> | 2018-01-29 15:37:53 +0000 |
commit | 7fb9ee5db24a5892d3af8487de39d7b4a7fc2ea8 (patch) | |
tree | 792f6f7f179463d837ceb1b89cf7eb3d5b5640f6 /tools/perf/scripts/python/failed-syscalls-by-pid.py | |
parent | 74c0167f8bcf02af8ff9f2677b2d85070ba7236d (diff) |
drm/i915: Simplify guard logic for setup_scratch_page()
Older gcc is complaining it can't follow the guards and thinks that
addr may be used uninitialised
In the process, we can simplify down to one loop,
add/remove: 0/0 grow/shrink: 0/1 up/down: 0/-131 (-131)
Function old new delta
setup_scratch_page 545 414 -131
Reported-by: Geert Uytterhoeven <[email protected]>
Signed-off-by: Chris Wilson <[email protected]>
Cc: Matthew Auld <[email protected]>
Reviewed-by: Matthew Auld <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/failed-syscalls-by-pid.py')
0 files changed, 0 insertions, 0 deletions