diff options
author | Tomer Tayar <[email protected]> | 2023-04-02 13:42:35 +0300 |
---|---|---|
committer | Oded Gabbay <[email protected]> | 2023-04-08 10:44:23 +0300 |
commit | 56499c461589634f2c89ffbd9cfb78268191d349 (patch) | |
tree | 7b151e0ecba26407cd9d75be5d08cf167d02b32b /tools/perf/scripts/python/arm-cs-trace-disasm.py | |
parent | 31420f93b5c15746759cd87eaa0f572a7316ea46 (diff) |
accel/habanalabs: add missing error flow in hl_sysfs_init()
hl_sysfs_fini() is called only if hl_sysfs_init() completes
successfully. Therefore if hl_sysfs_init() fails, need to remove any
sysfs group that was added until that point.
Signed-off-by: Tomer Tayar <[email protected]>
Reviewed-by: Oded Gabbay <[email protected]>
Signed-off-by: Oded Gabbay <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/arm-cs-trace-disasm.py')
0 files changed, 0 insertions, 0 deletions