aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin/stackcollapse-report
diff options
context:
space:
mode:
authorZack Rusin <[email protected]>2022-03-18 13:43:28 -0400
committerZack Rusin <[email protected]>2022-03-21 10:10:33 -0400
commit10a26e0d5fc3574f63ce8a6cf28381b126317f40 (patch)
tree5fdd5c27a93a1f484eba251ad999ff33a586d684 /tools/perf/scripts/python/bin/stackcollapse-report
parent856082f021a28221db2c32bd0531614a8382be67 (diff)
drm/vmwgfx: Fix an invalid read
vmw_move assumed that buffers to be moved would always be vmw_buffer_object's but after introduction of new placement for mob pages that's no longer the case. The resulting invalid read didn't have any practical consequences because the memory isn't used unless the object actually is a vmw_buffer_object. Fix it by moving the cast to the spot where the results are used. Signed-off-by: Zack Rusin <[email protected]> Fixes: f6be23264bba ("drm/vmwgfx: Introduce a new placement for MOB page tables") Reported-by: Chuck Lever III <[email protected]> Reviewed-by: Martin Krastev <[email protected]> Tested-by: Chuck Lever <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-report')
0 files changed, 0 insertions, 0 deletions