habanalabs/gaudi: set the correct rc in case of err
authorKoby Elbaz <kelbaz@habana.ai>
Thu, 10 Jun 2021 06:14:43 +0000 (09:14 +0300)
committerOded Gabbay <ogabbay@kernel.org>
Fri, 18 Jun 2021 12:23:42 +0000 (15:23 +0300)
commit1f7ef4bf41c7c2abad3d21b8c69db11fc3ebc4f5
tree77149267fec6ce92d057a239e29dce5ba10bac88
parentba662265feac21ef2f47de97e1ab2107d5091a13
habanalabs/gaudi: set the correct rc in case of err

fix the following smatch warnings:
gaudi_internal_cb_pool_init() 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/gaudi/gaudi.c