]> git.baikalelectronics.ru Git - kernel.git/commit
bnxt_en: Remove the -1 error return code from bnxt_hwrm_do_send_msg().
authorMichael Chan <michael.chan@broadcom.com>
Fri, 30 Aug 2019 03:54:45 +0000 (23:54 -0400)
committerDavid S. Miller <davem@davemloft.net>
Fri, 30 Aug 2019 21:02:18 +0000 (14:02 -0700)
commitfadc29ad076a73d9f5d412d247e2a590d3d817eb
tree5c76387fa44eacc143b7df0088db82b7f9e8b55a
parent8a601f0ad8c33fddde6b67fa9b664ad3a7004946
bnxt_en: Remove the -1 error return code from bnxt_hwrm_do_send_msg().

Replace the non-standard -1 code with -EBUSY when there is no firmware
response after waiting for the maximum timeout.

Signed-off-by: Michael Chan <michael.chan@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/broadcom/bnxt/bnxt.c