habanalabs: zero complex structures using memset
authorKoby Elbaz <kelbaz@habana.ai>
Thu, 10 Jun 2021 12:09:54 +0000 (15:09 +0300)
committerOded Gabbay <ogabbay@kernel.org>
Fri, 18 Jun 2021 12:23:42 +0000 (15:23 +0300)
commitb538888c3e49a0d1f1c59ef1b1ed2cd3d6e45db9
treeb10c27cfab47408001a9cbe1e2df4f123ad00dfb
parentf5d6e39eb2a933a1734cd8a620c8bcd52c4a0947
habanalabs: zero complex structures using memset

fix the following sparse warnings:
'warning: Using plain integer as NULL pointer'
'warning: missing braces around initializer'

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/firmware_if.c