aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorMaarten Lankhorst <[email protected]>2015-12-08 15:52:56 +0100
committerJani Nikula <[email protected]>2016-01-13 10:50:11 +0200
commitde0513365cff619335a59417dea1d1ca665c2cfd (patch)
treea5a144119995b8e830b3c181dd820a6841de0002 /tools/perf/scripts/python/stackcollapse.py
parent2dc2f761dea65069485110d24eaa5b0d5d808b07 (diff)
drm/i915: Widen return value for reservation_object_wait_timeout_rcu to long.
This fixes a spurious warning from an integer overflow on 64-bits systems. The function may return MAX_SCHEDULE_TIMEOUT which gets truncated to -1. Explicitly handling this by casting to lret fixes it. Signed-off-by: Maarten Lankhorst <[email protected]> Reported-and-tested-by: Joseph Yasi <[email protected]> Tested-by: Andreas Reis <[email protected]> Reviewed-by: Daniel Vetter <[email protected]> Cc: [email protected] Fixes: 3c28ff22f6e20c ("i915: wait for fence in prepare_plane_fb") Link: http://patchwork.freedesktop.org/patch/msgid/[email protected] (cherry picked from commit bcf8be279c79df6a8a17d9c3e1f9bc926444a87c) Signed-off-by: Jani Nikula <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions