summaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/lists.py
diff options
context:
space:
mode:
authorDan Carpenter <dan.carpenter@linaro.org>2024-01-05 15:20:35 +0300
committerThomas Hellström <thomas.hellstrom@linux.intel.com>2024-01-15 15:36:57 +0100
commit616576df35193bbadac31dc42a32d5943e183f45 (patch)
treebec45440a8e1482ae3f16ce24d58c45f99a0e703 /scripts/gdb/linux/lists.py
parentffd915e41a4a2277fd8041dc77603df59acf3e01 (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 <dan.carpenter@linaro.org> Signed-off-by: Matthew Brost <matthew.brost@intel.com> Reviewed-by: Matthew Brost <matthew.brost@intel.com> (cherry picked from commit 88ec23528b32ddb9ce2e8492f2629b0056353697) Signed-off-by: Thomas Hellström <thomas.hellstrom@linux.intel.com>
Diffstat (limited to 'scripts/gdb/linux/lists.py')
0 files changed, 0 insertions, 0 deletions