diff options
author | Tvrtko Ursulin <[email protected]> | 2024-02-19 13:14:23 +0000 |
---|---|---|
committer | Maxime Ripard <[email protected]> | 2024-02-22 18:50:06 +0100 |
commit | 32ca5ebfde9a0deb50cedfa37646f86bb319542b (patch) | |
tree | ab87741cbb1f93dfd0b1f7dc0d77b8496d776316 /tools/testing/selftests/bpf/progs/test_autoload.c | |
parent | a3baaca4a8766e9386e472d97315e5c131beb87d (diff) |
drm/i915: Fix possible null pointer dereference after drm_dbg_printer conversion
Request can be NULL if no guilty request was identified so simply use
engine->i915 instead.
Signed-off-by: Tvrtko Ursulin <[email protected]>
Fixes: d50892a9554c ("drm/i915: switch from drm_debug_printer() to device specific drm_dbg_printer()")
Reported-by: Dan Carpenter <[email protected]>
Cc: Jani Nikula <[email protected]>
Cc: Luca Coelho <[email protected]>
Cc: Maxime Ripard <[email protected]>
Cc: Jani Nikula <[email protected]>
Acked-by: Rodrigo Vivi <[email protected]>
Reviewed-by: Rodrigo Vivi <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Maxime Ripard <[email protected]>
Diffstat (limited to 'tools/testing/selftests/bpf/progs/test_autoload.c')
0 files changed, 0 insertions, 0 deletions