aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/flamegraph.py
diff options
context:
space:
mode:
authorNirmoy Das <[email protected]>2020-06-22 15:45:33 +0200
committerChristian König <[email protected]>2020-06-23 15:57:30 +0200
commitc9bb9d6685c0e8318c3a70fcdea319c84c94e5af (patch)
tree1f3efd85133758fd609bda38a64211d0e89657ba /tools/perf/scripts/python/flamegraph.py
parent5fad79fd66ff90b8c0a95319dad0b099008f8347 (diff)
drm/mm/selftests: fix wrong return type casting
Function prepare_igt_frag() and get_insert_time() were casting signed value to unsigned value before returning error. So error check in igt_frag() would not work with unsigned return value from get_insert_time() compared against negative value. Addresses-Coverity: ("Unsigned compared against 0, no effect") Signed-off-by: Nirmoy Das <[email protected]> Reported-by: Colin Ian King <[email protected]> Reviewed-by: Christian König <[email protected]> Signed-off-by: Christian König <[email protected]> Link: https://patchwork.freedesktop.org/patch/370636/
Diffstat (limited to 'tools/perf/scripts/python/flamegraph.py')
0 files changed, 0 insertions, 0 deletions