aboutsummaryrefslogtreecommitdiff
path: root/tools/testing/selftests/bpf/progs/test_autoload.c
diff options
context:
space:
mode:
authorHimal Prasad Ghimiray <[email protected]>2024-08-28 14:52:29 +0530
committerRodrigo Vivi <[email protected]>2024-08-28 13:15:40 -0400
commitc72084163cd22ebf59d936669ec25b1fc2b7494c (patch)
tree38419674d6ad72fe318230e67da9d356de3cf97a /tools/testing/selftests/bpf/progs/test_autoload.c
parent379cad69bdfe522e840ed5f5c01ac8769006d53e (diff)
drm/xe: Fix NPD in ggtt_node_remove()
Make sure that ggtt_node_remove() is invoked only if both node and ggtt are not null. Move the null checks to the caller function xe_ggtt_node_remove(). v2: Move null check below declarations (Tejas) Fixes: 919bb54e989c ("drm/xe: Fix missing runtime outer protection for ggtt_remove_node") Cc: Rodrigo Vivi <[email protected]> Cc: Lucas De Marchi <[email protected]> Cc: Tejas Upadhyay <[email protected]> Reviewed-by: Tejas Upadhyay <[email protected]> Signed-off-by: Himal Prasad Ghimiray <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected] Signed-off-by: Rodrigo Vivi <[email protected]>
Diffstat (limited to 'tools/testing/selftests/bpf/progs/test_autoload.c')
0 files changed, 0 insertions, 0 deletions