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)
commita935cb7ec449bca1adf806d7fb00f5032b63c6e0
tree5c76387fa44eacc143b7df0088db82b7f9e8b55a
parentb3b0ddd07e63d564a3d5500938913805d06a1682
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