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>
                if (bp->hwrm_intr_seq_id != (u16)~seq_id) {
                        netdev_err(bp->dev, "Resp cmpl intr err msg: 0x%x\n",
                                   le16_to_cpu(req->req_type));
-                       return -1;
+                       return -EBUSY;
                }
                len = (le32_to_cpu(*resp_len) & HWRM_RESP_LEN_MASK) >>
                      HWRM_RESP_LEN_SFT;
                                   HWRM_TOTAL_TIMEOUT(i),
                                   le16_to_cpu(req->req_type),
                                   le16_to_cpu(req->seq_id), len);
-                       return -1;
+                       return -EBUSY;
                }
 
                /* Last byte of resp contains valid bit */
                                   HWRM_TOTAL_TIMEOUT(i),
                                   le16_to_cpu(req->req_type),
                                   le16_to_cpu(req->seq_id), len, *valid);
-                       return -1;
+                       return -EBUSY;
                }
        }