aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/mem-phys-addr.py
diff options
context:
space:
mode:
authorDan Carpenter <[email protected]>2024-01-05 15:20:35 +0300
committerMatthew Brost <[email protected]>2024-01-10 18:27:54 -0800
commit88ec23528b32ddb9ce2e8492f2629b0056353697 (patch)
tree2477d9f9b3cef6b0257eff8d10d8c9fe2f9fd329 /tools/perf/scripts/python/mem-phys-addr.py
parentc10da95afa68060e13c5f920d96671943a7e54d9 (diff)
drm/xe/selftests: Fix an error pointer dereference bug
Check if "bo" is an error pointer before calling xe_bo_lock() on it. Fixes: d6abc18d6693 ("drm/xe/xe2: Modify xe_bo_test for system memory") Signed-off-by: Dan Carpenter <[email protected]> Signed-off-by: Matthew Brost <[email protected]> Reviewed-by: Matthew Brost <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/mem-phys-addr.py')
0 files changed, 0 insertions, 0 deletions