diff options
Diffstat (limited to 'drivers/scsi/csiostor/csio_init.c')
-rw-r--r-- | drivers/scsi/csiostor/csio_init.c | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/drivers/scsi/csiostor/csio_init.c b/drivers/scsi/csiostor/csio_init.c index ea0c31086cc6..dcd074169aa9 100644 --- a/drivers/scsi/csiostor/csio_init.c +++ b/drivers/scsi/csiostor/csio_init.c | |||
@@ -969,10 +969,14 @@ static int csio_probe_one(struct pci_dev *pdev, const struct pci_device_id *id) | |||
969 | 969 | ||
970 | pci_set_drvdata(pdev, hw); | 970 | pci_set_drvdata(pdev, hw); |
971 | 971 | ||
972 | if (csio_hw_start(hw) != 0) { | 972 | rv = csio_hw_start(hw); |
973 | dev_err(&pdev->dev, | 973 | if (rv) { |
974 | "Failed to start FW, continuing in debug mode.\n"); | 974 | if (rv == -EINVAL) { |
975 | return 0; | 975 | dev_err(&pdev->dev, |
976 | "Failed to start FW, continuing in debug mode.\n"); | ||
977 | return 0; | ||
978 | } | ||
979 | goto err_lnode_exit; | ||
976 | } | 980 | } |
977 | 981 | ||
978 | sprintf(hw->fwrev_str, "%u.%u.%u.%u\n", | 982 | sprintf(hw->fwrev_str, "%u.%u.%u.%u\n", |