[Open-FCoE] [PATCH 1/3] libfc: fix host reset printk

michaelc at cs.wisc.edu michaelc at cs.wisc.edu
Wed Sep 17 21:36:38 UTC 2008


From: Mike Christie <michaelc at cs.wisc.edu>

This just fixes the host reset output when we fail.

Signed-off-by: Mike Christie <michaelc at cs.wisc.edu>
---
 drivers/scsi/libfc/fc_fcp.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/drivers/scsi/libfc/fc_fcp.c b/drivers/scsi/libfc/fc_fcp.c
index 20a0686..67efa6f 100644
--- a/drivers/scsi/libfc/fc_fcp.c
+++ b/drivers/scsi/libfc/fc_fcp.c
@@ -2076,7 +2076,7 @@ int fc_eh_host_reset(struct scsi_cmnd *sc_cmd)
 		shost_printk(KERN_INFO, shost, "Host reset succeeded.\n");
 		return SUCCESS;
 	} else {
-		shost_printk(KERN_INFO, shost, "Host reset succeeded failed."
+		shost_printk(KERN_INFO, shost, "Host reset failed. "
 			    "lport not ready.\n");
 		return FAILED;
 	}
-- 
1.5.1.2




More information about the devel mailing list