]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
accel/habanalabs: fix a missing-braces compilation warning
authorTomer Tayar <ttayar@habana.ai>
Wed, 15 Mar 2023 11:13:54 +0000 (13:13 +0200)
committerOded Gabbay <ogabbay@kernel.org>
Mon, 20 Mar 2023 15:35:34 +0000 (17:35 +0200)
commit7cd6b5625b35267d0a69f067c41e2adf0c903eb2
tree91b1000a39e126909feb2812a0a21d41979175f2
parentdc934c183d43d30e49eacddc76b9882a7e3c1cde
accel/habanalabs: fix a missing-braces compilation warning

Replace initialization of "struct cpucp_packet" from "{0} to "{}" to
avoid a "missing braces around initializer" compilation warning.

Signed-off-by: Tomer Tayar <ttayar@habana.ai>
Reviewed-by: Oded Gabbay <ogabbay@kernel.org>
Signed-off-by: Oded Gabbay <ogabbay@kernel.org>
drivers/accel/habanalabs/common/firmware_if.c