diff options
author | Nirmoy Das <[email protected]> | 2024-02-19 13:50:47 +0100 |
---|---|---|
committer | Tvrtko Ursulin <[email protected]> | 2024-02-28 13:11:32 +0000 |
commit | db7bbd13f08774cde0332c705f042e327fe21e73 (patch) | |
tree | b3e84284042f841e0e7e9547ee15eb5d27cac6fe /tools/testing/selftests/bpf/progs/test_autoload.c | |
parent | 5cf0fbf7637410aea88819e64a4bd5ea14ccbbfc (diff) |
drm/i915: Check before removing mm notifier
Error in mmu_interval_notifier_insert() can leave a NULL
notifier.mm pointer. Catch that and return early.
Fixes: ed29c2691188 ("drm/i915: Fix userptr so we do not have to worry about obj->mm.lock, v7.")
Cc: <[email protected]> # v5.13+
[tursulin: Added Fixes and cc stable.]
Cc: Andi Shyti <[email protected]>
Cc: Shawn Lee <[email protected]>
Signed-off-by: Nirmoy Das <[email protected]>
Reviewed-by: Rodrigo Vivi <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Signed-off-by: Tvrtko Ursulin <[email protected]>
Diffstat (limited to 'tools/testing/selftests/bpf/progs/test_autoload.c')
0 files changed, 0 insertions, 0 deletions