Skip to content
Commit 5908560a authored by Marco Pagani's avatar Marco Pagani Committed by Oded Gabbay
Browse files

habanalabs: added return value check for hl_fw_dynamic_send_clear_cmd()



The clang-analyzer reported a warning: "Value stored to 'rc' is never
read".

The return value check for the first hl_fw_dynamic_send_clear_cmd() call
in hl_fw_dynamic_send_protocol_cmd() appears to be missing.

Signed-off-by: default avatarMarco Pagani <marpagan@redhat.com>
Reviewed-by: default avatarOded Gabbay <ogabbay@kernel.org>
Signed-off-by: default avatarOded Gabbay <ogabbay@kernel.org>
parent 01907ba5
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment