diff options
author | 2024-09-11 18:22:15 +0800 | |
---|---|---|
committer | 2024-10-03 01:13:54 -0500 | |
commit | cb58977016d1b25781743e5fbe6a545493785e37 (patch) | |
tree | 0d8bbd408bd6eb8c92a4cc06c5081762c1e6569a /tools/perf/scripts/python/export-to-postgresql.py | |
parent | drm/xe: fix UAF around queue destruction (diff) | |
download | wireguard-linux-cb58977016d1b25781743e5fbe6a545493785e37.tar.xz wireguard-linux-cb58977016d1b25781743e5fbe6a545493785e37.zip |
drm/xe: use devm_add_action_or_reset() helper
Use devm_add_action_or_reset() to release resources in case of failure,
because the cleanup function will be automatically called.
Reviewed-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
Signed-off-by: He Lugang <helugang@uniontech.com>
Link: https://patchwork.freedesktop.org/patch/msgid/9631BC17D1E028A2+20240911102215.84865-1-helugang@uniontech.com
Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
(cherry picked from commit fdc81c43f0c14ace6383024a02585e3fcbd1ceba)
Signed-off-by: Lucas De Marchi <lucas.demarchi@intel.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions