diff options
author | Alan <[email protected]> | 2016-02-17 14:20:46 +0000 |
---|---|---|
committer | Daniel Vetter <[email protected]> | 2016-02-17 17:00:38 +0100 |
commit | 69603dbb315fc7a2b855990ee308b97dc23bf6eb (patch) | |
tree | 4cf8a1d1130924f4f901a39ecbdb0b36f31f9a2a /tools/perf/scripts/python/syscall-counts-by-pid.py | |
parent | ecb2448218acf23c401434c26be256147833b221 (diff) |
i915: cast before shifting in i915_pte_count
Otherwise a pde_shift big enough to overflow a u32 will be truncated before
assignment
Note: We never asked for ranges spanning a 4G boundary, so this issue
doesn't cause a real problem.
Signed-off-by: Alan Cox <[email protected]>
[danvet: Add note why this isn't a real problem.]
Signed-off-by: Daniel Vetter <[email protected]>
Link: http://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts-by-pid.py')
0 files changed, 0 insertions, 0 deletions