diff options
author | Eugene Kobyak <[email protected]> | 2024-12-03 14:54:06 +0000 |
---|---|---|
committer | Tvrtko Ursulin <[email protected]> | 2024-12-09 10:29:03 +0000 |
commit | da0b986256ae9a78b0215214ff44f271bfe237c1 (patch) | |
tree | 665956adfda232945c928b05200426810d60ae68 /tools/testing/selftests/bpf/prog_tests/prog_array_init.c | |
parent | cd3da567e2e46b8f75549637b960a83b024d6b6e (diff) |
drm/i915: Fix NULL pointer dereference in capture_engine
When the intel_context structure contains NULL,
it raises a NULL pointer dereference error in drm_info().
Fixes: e8a3319c31a1 ("drm/i915: Allow error capture without a request")
Closes: https://gitlab.freedesktop.org/drm/i915/kernel/-/issues/12309
Reviewed-by: Andi Shyti <[email protected]>
Cc: John Harrison <[email protected]>
Cc: <[email protected]> # v6.3+
Signed-off-by: Eugene Kobyak <[email protected]>
Signed-off-by: Andi Shyti <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/xmsgfynkhycw3cf56akp4he2ffg44vuratocsysaowbsnhutzi@augnqbm777at
(cherry picked from commit 754302a5bc1bd8fd3b7d85c168b0a1af6d4bba4d)
Signed-off-by: Tvrtko Ursulin <[email protected]>
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/prog_array_init.c')
0 files changed, 0 insertions, 0 deletions