]> git.baikalelectronics.ru Git - kernel.git/commit
habanalabs: fix NULL dereference on cs timeout
authorYuri Nudelman <ynudelman@habana.ai>
Tue, 14 Jun 2022 12:14:20 +0000 (15:14 +0300)
committerOded Gabbay <ogabbay@kernel.org>
Tue, 12 Jul 2022 06:09:23 +0000 (09:09 +0300)
commitff4abb4f0d4bd3ec74354f3e7315d31c3c4d2a41
tree5e58d4bb6c3f400dc1c774d594dc99f8ddaae948
parentb34833be23dfc7b08ca1ecdec130d3d59237e675
habanalabs: fix NULL dereference on cs timeout

Device descriptor is accessed before an assignment

Signed-off-by: Yuri Nudelman <ynudelman@habana.ai>
Reviewed-by: Oded Gabbay <ogabbay@kernel.org>
Signed-off-by: Oded Gabbay <ogabbay@kernel.org>
drivers/misc/habanalabs/common/command_submission.c