diff options
| author | Himal Prasad Ghimiray <[email protected]> | 2024-03-28 18:07:39 +0530 |
|---|---|---|
| committer | Rodrigo Vivi <[email protected]> | 2024-03-29 11:28:43 -0400 |
| commit | b15e65349553b1689d15fbdebea874ca5ae2274a (patch) | |
| tree | 5599c84fb7c51e4fdbad8e739919e59375bfd3b6 /tools/perf/scripts/python/export-to-sqlite.py | |
| parent | 345dadc4f68b1bd87bd9650b1397a6b75a2573d7 (diff) | |
drm/xe/xe_devcoredump: Check NULL before assignments
Assign 'xe_devcoredump_snapshot *' and 'xe_device *' only if
'coredump' is not NULL.
v2
- Fix commit messages.
v3
- Define variables before code.(Ashutosh/Jose)
v4
- Drop return check for coredump_to_xe. (Jose/Rodrigo)
v5
- Modify misleading commit message. (Matt)
Cc: Matt Roper <[email protected]>
Cc: Ashutosh Dixit <[email protected]>
Cc: José Roberto de Souza <[email protected]>
Cc: Rodrigo Vivi <[email protected]>
Signed-off-by: Himal Prasad Ghimiray <[email protected]>
Reviewed-by: Rodrigo Vivi <[email protected]>
Reviewed-by: José Roberto de Souza <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Signed-off-by: Rodrigo Vivi <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions