From: Alexander Duyck The coredump info response handler returns the error the FW reports, or -ENOENT when no coredump is available. The mailbox Rx path treats any error from a handler as a message it could not process, and logs a warning with a hex dump of the message. The error is already passed to the waiting request through the completion. Return 0 once the completion is filled in, as the TSENE and FW upgrade response handlers do. Fixes: 5df1d0a08483 ("eth: fbnic: support FW communication for core dump") Signed-off-by: Alexander Duyck --- drivers/net/ethernet/meta/fbnic/fbnic_fw.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/ethernet/meta/fbnic/fbnic_fw.c b/drivers/net/ethernet/meta/fbnic/fbnic_fw.c index e00d626f6438..9a3df3767442 100644 --- a/drivers/net/ethernet/meta/fbnic/fbnic_fw.c +++ b/drivers/net/ethernet/meta/fbnic/fbnic_fw.c @@ -960,7 +960,7 @@ fbnic_fw_parse_coredump_info_resp(void *opaque, struct fbnic_tlv_msg **results) complete(&cmpl_data->done); fbnic_fw_put_cmpl(cmpl_data); - return err; + return 0; } /**