aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/event_analyzing_sample.py
diff options
context:
space:
mode:
authorDan Carpenter <dan.carpenter@oracle.com>2021-08-13 14:36:00 +0300
committerRodrigo Vivi <rodrigo.vivi@intel.com>2021-08-20 12:32:38 -0400
commitff12ce2c9cb1cd09017151424db66de803984abc (patch)
treea46a856e49db7a2b618ebe438ad67af0aaf02e53 /tools/perf/scripts/python/event_analyzing_sample.py
parentdrm/i915/debugfs: hook up ttm_resource_manager_debug (diff)
downloadlinux-ff12ce2c9cb1cd09017151424db66de803984abc.tar.gz
linux-ff12ce2c9cb1cd09017151424db66de803984abc.zip
drm/i915/gt: Potential error pointer dereference in pinned_context()
If the intel_engine_create_pinned_context() function returns an error pointer, then dereferencing "ce" will Oops. Use "vm" instead of "ce->vm". Fixes: cf586021642d ("drm/i915/gt: Pipelined page migration") Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> Reviewed-by: Thomas Hellström <thomas.hellstrom@linux.intel.com> Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com> Link: https://patchwork.freedesktop.org/patch/msgid/20210813113600.GC30697@kili
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions