diff options
author | Donald Robson <donald.robson@imgtec.com> | 2023-12-08 19:30:19 +0300 |
---|---|---|
committer | Maxime Ripard <mripard@kernel.org> | 2023-12-15 16:04:08 +0300 |
commit | f1f55ed3ffe4212f5c96106bf6396c461a2bf223 (patch) | |
tree | 30da1df3ec62865810378db6309d0f94d13a65d7 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | b39610c773431ac7991cf6235e26d693ccabd9e9 (diff) | |
download | linux-f1f55ed3ffe4212f5c96106bf6396c461a2bf223.tar.xz |
drm/imagination: Fixed oops when misusing ioctl CREATE_HWRT_DATASET
While writing the matching IGT suite I discovered that it's possible to
cause a kernel oops when using DRM_IOCTL_PVR_CREATE_HWRT_DATASET when
the call to hwrt_init_common_fw_structure() fails.
Use an unwind-type error path to avoid cleaning up the object using the
the release function before it is fully resolved.
Signed-off-by: Donald Robson <donald.robson@imgtec.com>
Signed-off-by: Maxime Ripard <mripard@kernel.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20231208163019.95913-1-donald.robson@imgtec.com
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions