aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/netdev-times.py
diff options
context:
space:
mode:
authorMaarten Lankhorst <[email protected]>2015-12-08 15:52:56 +0100
committerMaarten Lankhorst <[email protected]>2016-01-11 08:30:02 +0100
commitbcf8be279c79df6a8a17d9c3e1f9bc926444a87c (patch)
treee2cab7f6c4d6fcedfc29676950510e428e1f443d /tools/perf/scripts/python/netdev-times.py
parentdb1a6aa2afa50803fbd801631bb9756eeff96dbe (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]
Diffstat (limited to 'tools/perf/scripts/python/netdev-times.py')
0 files changed, 0 insertions, 0 deletions