habanalabs: set rc as 'valid' in case of intentional func exit
authorKoby Elbaz <kelbaz@habana.ai>
Thu, 10 Jun 2021 06:01:57 +0000 (09:01 +0300)
committerOded Gabbay <ogabbay@kernel.org>
Fri, 18 Jun 2021 12:23:42 +0000 (15:23 +0300)
commit11d5cb8b95456e2432dfee2ffcebf0623998493a
tree34fdc733dcdd25b3ccc9140e8a7387febe9d86a0
parentb538888c3e49a0d1f1c59ef1b1ed2cd3d6e45db9
habanalabs: set rc as 'valid' in case of intentional func exit

fix the following smatch warnings:
hl_fw_static_init_cpu() warn: missing error code 'rc'

Signed-off-by: Koby Elbaz <kelbaz@habana.ai>
Reviewed-by: Oded Gabbay <ogabbay@kernel.org>
Signed-off-by: Oded Gabbay <ogabbay@kernel.org>
drivers/misc/habanalabs/common/device.c
drivers/misc/habanalabs/common/firmware_if.c