]> git.baikalelectronics.ru Git - kernel.git/commit
habanalabs: check fence pointer before use
authorOded Gabbay <ogabbay@kernel.org>
Sun, 19 Jun 2022 09:35:06 +0000 (12:35 +0300)
committerOded Gabbay <ogabbay@kernel.org>
Tue, 12 Jul 2022 06:09:23 +0000 (09:09 +0300)
commit2b10f6277d70caa0b71a4ace41b9df2918aee23d
tree38b4dc7c13e82f0ddf8993ecbc5f908d11006e41
parent3b03d114715cb08d0adbe165aa5c1e8f10350b0c
habanalabs: check fence pointer before use

fence pointer can be NULL in this path, as shown by an earlier check.

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