diff options
| author | Dan Carpenter <[email protected]> | 2021-08-13 11:36:00 +0000 |
|---|---|---|
| committer | Jani Nikula <[email protected]> | 2021-08-24 14:23:03 +0000 |
| commit | 2c772cf5fe20ef0adf7691c5df1e4b5843e0a109 (patch) | |
| tree | 6ec00b9044a9d4eb8accfd9bec28f082231fe487 /drivers/gpu/drm/amd/amdgpu/vcn_v2_0.c | |
| parent | drm/i915/adl_p: Also disable underrun recovery with MSO (diff) | |
| download | kernel-2c772cf5fe20ef0adf7691c5df1e4b5843e0a109.tar.gz kernel-2c772cf5fe20ef0adf7691c5df1e4b5843e0a109.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 <[email protected]>
Reviewed-by: Thomas Hellström <[email protected]>
Signed-off-by: Rodrigo Vivi <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/20210813113600.GC30697@kili
(cherry picked from commit ff12ce2c9cb1cd09017151424db66de803984abc)
Signed-off-by: Jani Nikula <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/vcn_v2_0.c')
0 files changed, 0 insertions, 0 deletions
