summaryrefslogtreecommitdiffstats
path: root/security
diff options
context:
space:
mode:
authorTomer Tayar <ttayar@habana.ai>2023-04-02 12:42:35 +0200
committerOded Gabbay <ogabbay@kernel.org>2023-04-08 09:44:23 +0200
commit56499c461589634f2c89ffbd9cfb78268191d349 (patch)
tree7b151e0ecba26407cd9d75be5d08cf167d02b32b /security
parentaccel/habanalabs: speedup h/w queues test in Gaudi2 (diff)
downloadlinux-56499c461589634f2c89ffbd9cfb78268191d349.tar.xz
linux-56499c461589634f2c89ffbd9cfb78268191d349.zip
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 <ttayar@habana.ai> Reviewed-by: Oded Gabbay <ogabbay@kernel.org> Signed-off-by: Oded Gabbay <ogabbay@kernel.org>
Diffstat (limited to 'security')
0 files changed, 0 insertions, 0 deletions