aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi/libfc/fc_lport.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/scsi/libfc/fc_lport.c')
-rw-r--r--drivers/scsi/libfc/fc_lport.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/scsi/libfc/fc_lport.c b/drivers/scsi/libfc/fc_lport.c
index f04d15c67df3..e01a29863c38 100644
--- a/drivers/scsi/libfc/fc_lport.c
+++ b/drivers/scsi/libfc/fc_lport.c
@@ -516,7 +516,7 @@ static void fc_lport_recv_rnid_req(struct fc_lport *lport,
516 * @lport: The local port receiving the LOGO 516 * @lport: The local port receiving the LOGO
517 * @fp: The LOGO request frame 517 * @fp: The LOGO request frame
518 * 518 *
519 * Locking Note: The lport lock is exected to be held before calling 519 * Locking Note: The lport lock is expected to be held before calling
520 * this function. 520 * this function.
521 */ 521 */
522static void fc_lport_recv_logo_req(struct fc_lport *lport, struct fc_frame *fp) 522static void fc_lport_recv_logo_req(struct fc_lport *lport, struct fc_frame *fp)
@@ -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)