]> git.baikalelectronics.ru Git - kernel.git/commit
habanalabs: free signal handle on failure
authorOded Gabbay <ogabbay@kernel.org>
Tue, 30 Nov 2021 12:54:53 +0000 (14:54 +0200)
committerOded Gabbay <ogabbay@kernel.org>
Sun, 26 Dec 2021 06:59:08 +0000 (08:59 +0200)
commit093488ad3ed9378dc657e6a6c4b21961165ca1a5
treef9acb1c41b14f73ee58c4b2c5cfde5d3df9e3296
parent689baae310aa55374a6430a4e8a8954e42e91557
habanalabs: free signal handle on failure

Fix a bug where in case of failure to allocate idr, the handle's
memory wasn't freed as part of the error handling code.

Signed-off-by: Oded Gabbay <ogabbay@kernel.org>
drivers/misc/habanalabs/common/command_submission.c