aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi/libfc
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/scsi/libfc')
-rw-r--r--drivers/scsi/libfc/fc_exch.c8
-rw-r--r--drivers/scsi/libfc/fc_lport.c2
2 files changed, 5 insertions, 5 deletions
diff --git a/drivers/scsi/libfc/fc_exch.c b/drivers/scsi/libfc/fc_exch.c
index b233a2dea122..cb2b900c011d 100644
--- a/drivers/scsi/libfc/fc_exch.c
+++ b/drivers/scsi/libfc/fc_exch.c
@@ -1659,7 +1659,7 @@ static void fc_exch_recv_bls(struct fc_exch_mgr *mp, struct fc_frame *fp)
1659 break; 1659 break;
1660 default: 1660 default:
1661 if (ep) 1661 if (ep)
1662 FC_EXCH_DBG(ep, "BLS rctl %x - %s received", 1662 FC_EXCH_DBG(ep, "BLS rctl %x - %s received\n",
1663 fh->fh_r_ctl, 1663 fh->fh_r_ctl,
1664 fc_exch_rctl_name(fh->fh_r_ctl)); 1664 fc_exch_rctl_name(fh->fh_r_ctl));
1665 break; 1665 break;
@@ -1953,13 +1953,13 @@ static void fc_exch_rrq_resp(struct fc_seq *sp, struct fc_frame *fp, void *arg)
1953 1953
1954 switch (op) { 1954 switch (op) {
1955 case ELS_LS_RJT: 1955 case ELS_LS_RJT:
1956 FC_EXCH_DBG(aborted_ep, "LS_RJT for RRQ"); 1956 FC_EXCH_DBG(aborted_ep, "LS_RJT for RRQ\n");
1957 /* fall through */ 1957 /* fall through */
1958 case ELS_LS_ACC: 1958 case ELS_LS_ACC:
1959 goto cleanup; 1959 goto cleanup;
1960 default: 1960 default:
1961 FC_EXCH_DBG(aborted_ep, "unexpected response op %x " 1961 FC_EXCH_DBG(aborted_ep, "unexpected response op %x for RRQ\n",
1962 "for RRQ", op); 1962 op);
1963 return; 1963 return;
1964 } 1964 }
1965 1965
diff --git a/drivers/scsi/libfc/fc_lport.c b/drivers/scsi/libfc/fc_lport.c
index a32f3141f3f9..e01a29863c38 100644
--- a/drivers/scsi/libfc/fc_lport.c
+++ b/drivers/scsi/libfc/fc_lport.c
@@ -1088,7 +1088,7 @@ static void fc_lport_error(struct fc_lport *lport, struct fc_frame *fp)
1088{ 1088{
1089 unsigned long delay = 0; 1089 unsigned long delay = 0;
1090 FC_LPORT_DBG(lport, "Error %ld in state %s, retries %d\n", 1090 FC_LPORT_DBG(lport, "Error %ld in state %s, retries %d\n",
1091 PTR_ERR(fp), fc_lport_state(lport), 1091 IS_ERR(fp) ? -PTR_ERR(fp) : 0, fc_lport_state(lport),
1092 lport->retry_count); 1092 lport->retry_count);
1093 1093
1094 if (PTR_ERR(fp) == -FC_EX_CLOSED) 1094 if (PTR_ERR(fp) == -FC_EX_CLOSED)