summaryrefslogtreecommitdiff
path: root/tools/perf/util/scripting-engines/trace-event-python.c
diff options
context:
space:
mode:
authorFelix Kuehling <felix.kuehling@gmail.com>2022-11-16 23:38:44 +0300
committerAlex Deucher <alexander.deucher@amd.com>2022-11-23 18:31:31 +0300
commitf701acb6a4ed0acc0ba85a7ee18b12a75c0c58f0 (patch)
tree22bb1f5ce1f9b824ad2328fb5aff1fda91422419 /tools/perf/util/scripting-engines/trace-event-python.c
parent88733d68014f06d4aae8ef0673ee31602ef1f0a7 (diff)
downloadlinux-f701acb6a4ed0acc0ba85a7ee18b12a75c0c58f0.tar.xz
drm/amdkfd: Release the topology_lock in error case
Move the topology-locked part of kfd_topology_add_device into a separate function to simlpify error handling and release the topology lock consistently. Reported-by: Dan Carpenter <error27@gmail.com> Signed-off-by: Felix Kuehling <felix.kuehling@gmail.com> Signed-off-by: Ma Jun <Jun.Ma2@amd.com> Reviewed-by: Felix Kuehling <Felix.Kuehling@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions