projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f4eecab
)
scsi: qedf: Log message if scsi_add_host fails
author
Saurav Kashyap
<skashyap@marvell.com>
Mon, 22 Apr 2019 05:44:57 +0000
(22:44 -0700)
committer
Martin K. Petersen
<martin.petersen@oracle.com>
Mon, 29 Apr 2019 12:34:09 +0000
(08:34 -0400)
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>
drivers/scsi/qedf/qedf_main.c
patch
|
blob
|
history
diff --git
a/drivers/scsi/qedf/qedf_main.c
b/drivers/scsi/qedf/qedf_main.c
index a527b9b1f9af60797cad44281ed563350fe65f1a..e2f3228f15a6f1d01d6f739a2cd6bbe407951bab 100644
(file)
--- a/
drivers/scsi/qedf/qedf_main.c
+++ b/
drivers/scsi/qedf/qedf_main.c
@@
-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));