forked from Minki/linux
scsi: qedf: Log message if scsi_add_host fails
Print message on scsi_add_host failure. Signed-off-by: Saurav Kashyap <skashyap@marvell.com> Signed-off-by: Chad Dupuis <cdupuis@marvell.com> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
This commit is contained in:
parent
f4eecabe74
commit
249b148f36
@ -3330,8 +3330,11 @@ static int __qedf_probe(struct pci_dev *pdev, int mode)
|
||||
host->max_cmd_len = QEDF_MAX_CDB_LEN;
|
||||
host->can_queue = FCOE_PARAMS_NUM_TASKS;
|
||||
rc = scsi_add_host(host, &pdev->dev);
|
||||
if (rc)
|
||||
if (rc) {
|
||||
QEDF_WARN(&qedf->dbg_ctx,
|
||||
"Error adding Scsi_Host.\n");
|
||||
goto err6;
|
||||
}
|
||||
}
|
||||
|
||||
memset(¶ms, 0, sizeof(params));
|
||||
|
Loading…
Reference in New Issue
Block a user