aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/syscall-counts.py
diff options
context:
space:
mode:
authorDhinakaran Pandiyan <[email protected]>2018-02-02 21:12:58 -0800
committerRodrigo Vivi <[email protected]>2018-02-15 11:49:49 -0800
commit3abe241337993a1e358a67427518af0162c4b769 (patch)
tree628b60e928cc662a2981d1076fa055e8884cc93a /tools/perf/scripts/python/syscall-counts.py
parent9038aa480d34c1f87dccd4afb944bb3c7cce8ec7 (diff)
drm/tegra: Handle 64-bit return from drm_crtc_vblank_count()
570e86963a51 ("drm: Widen vblank count to 64-bits [v3]") changed the return type for drm_crtc_vblank_count() to u64. This could cause potential problems if the return value is used in arithmetic operations with a 32-bit reference HW vblank count. Explicitly typecasting this down to u32 either fixes a potential problem or serves to add clarity in case the implicit typecasting was already correct. Cc: Keith Packard <[email protected]> Cc: Thierry Reding <[email protected]> Signed-off-by: Dhinakaran Pandiyan <[email protected]> Reviewed-by: Keith Packard <[email protected]> Acked-by: Thierry Reding <[email protected]> Signed-off-by: Rodrigo Vivi <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions