aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/scsi/libfc/fc_rport.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/scsi/libfc/fc_rport.c b/drivers/scsi/libfc/fc_rport.c
index 83aa1efec875..d518d17e940f 100644
--- a/drivers/scsi/libfc/fc_rport.c
+++ b/drivers/scsi/libfc/fc_rport.c
@@ -582,7 +582,7 @@ static void fc_rport_error(struct fc_rport_priv *rdata, struct fc_frame *fp)
582static void fc_rport_error_retry(struct fc_rport_priv *rdata, 582static void fc_rport_error_retry(struct fc_rport_priv *rdata,
583 struct fc_frame *fp) 583 struct fc_frame *fp)
584{ 584{
585 unsigned long delay = FC_DEF_E_D_TOV; 585 unsigned long delay = msecs_to_jiffies(FC_DEF_E_D_TOV);
586 586
587 /* make sure this isn't an FC_EX_CLOSED error, never retry those */ 587 /* make sure this isn't an FC_EX_CLOSED error, never retry those */
588 if (PTR_ERR(fp) == -FC_EX_CLOSED) 588 if (PTR_ERR(fp) == -FC_EX_CLOSED)