aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stat-cpi.py
diff options
context:
space:
mode:
authorDmitry Osipenko <[email protected]>2022-06-30 23:07:18 +0300
committerGerd Hoffmann <[email protected]>2022-07-19 14:40:57 +0200
commit64b88afbd92fbf434759d1896a7cf705e1c00e79 (patch)
tree56fbf2fb5d3efdfe0daaefb824fd7da9a6ca8ea8 /tools/perf/scripts/python/stat-cpi.py
parent15fced5b051e6e22c228a521a5894b12c2ba0892 (diff)
drm/virtio: Correct drm_gem_shmem_get_sg_table() error handling
Previous commit fixed checking of the ERR_PTR value returned by drm_gem_shmem_get_sg_table(), but it missed to zero out the shmem->pages, which will crash virtio_gpu_cleanup_object(). Add the missing zeroing of the shmem->pages. Fixes: c24968734abf ("drm/virtio: Fix NULL vs IS_ERR checking in virtio_gpu_object_shmem_init") Reviewed-by: Emil Velikov <[email protected]> Signed-off-by: Dmitry Osipenko <[email protected]> Link: http://patchwork.freedesktop.org/patch/msgid/[email protected] Signed-off-by: Gerd Hoffmann <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/stat-cpi.py')
0 files changed, 0 insertions, 0 deletions