diff options
author | Colin Ian King <colin.i.king@gmail.com> | 2025-02-26 16:05:24 +0000 |
---|---|---|
committer | Lucas De Marchi <lucas.demarchi@intel.com> | 2025-02-26 08:29:30 -0800 |
commit | 1a7460a1976d4a9cba1545b071a45c31c1786e38 (patch) | |
tree | 8524eec37178fd0403a09a3cf2a9255b994c2b39 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | eef3ede533aea7a40e2f72a7886da4827f10eeac (diff) |
drm/xe: Fix uninitialized pointer def
In the case where a set of checks on xe->info.platform don't assign
a value to pointer def the pointer remains uninitialized and hence
can fail the following !def check. Fix this be ensuring pointer
def is initialized to NULL.
Fixes: 292b1a8a5054 ("drm/xe: Stop ignoring errors from xe_heci_gsc_init()")
Signed-off-by: Colin Ian King <colin.i.king@gmail.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20250226160524.566074-1-colin.i.king@gmail.com
Signed-off-by: Lucas De Marchi <lucas.demarchi@intel.com>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions