diff options
author | Michal Wajdeczko <michal.wajdeczko@intel.com> | 2024-06-19 20:54:27 +0300 |
---|---|---|
committer | Ashutosh Dixit <ashutosh.dixit@intel.com> | 2024-06-20 19:13:47 +0300 |
commit | cb925d31f091467dee09dd49eab8bcd2c9b3e73e (patch) | |
tree | ce2778298ba16790fb4288a5a4786f297bdeb698 /tools/perf/scripts/python/syscall-counts.py | |
parent | 7a893345a406b46b6a0f9575ce58e513cf79b997 (diff) | |
download | linux-cb925d31f091467dee09dd49eab8bcd2c9b3e73e.tar.xz |
drm/xe/oa: Fix potential NPD when OA is not initialized
If oa->xe can be NULL then we shall not use it as a valid pointer.
Fixes: cdf02fe1a94a ("drm/xe/oa/uapi: Add/remove OA config perf ops")
Fixes: b6fd51c62119 ("drm/xe/oa/uapi: Define and parse OA stream properties")
Signed-off-by: Michal Wajdeczko <michal.wajdeczko@intel.com>
Cc: Rodrigo Vivi <rodrigo.vivi@intel.com>
Cc: Ashutosh Dixit <ashutosh.dixit@intel.com>
Cc: Umesh Nerlige Ramappa <umesh.nerlige.ramappa@intel.com>
Reviewed-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
Reviewed-by: Ashutosh Dixit <ashutosh.dixit@intel.com>
Signed-off-by: Ashutosh Dixit <ashutosh.dixit@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20240619175427.861-1-michal.wajdeczko@intel.com
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions