lpfc: Fix the iteration count to match the 30 sec comment in the routine lpfc_pci_function_reset
Subsystems (2)
PATCH 1/21 lpfc: Fix the iteration count to match the 30 sec comment in the routine lpfc_pci_function_reset
Fix the iteration count to match the 30 sec comment in the routine lpfc_pci_function_reset
Signed-off-by Dick Kennedy <[email protected]>
Signed-off-by James Smart <[email protected]>
--- drivers/scsi/lpfc/lpfc_init.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/scsi/lpfc/lpfc_init.c +1 -1
@@ -7953,7 +7953,7 @@ wait:* up to 30 seconds. If the port doesn't respond, treat * it as an error. */ -for (rdy_chk =0 ; rdy_chk <3000 ; rdy_chk++) { +for (rdy_chk =0 ; rdy_chk <1500 ; rdy_chk++) {if (lpfc_readl (phba->sli4_hba.u.if_type2. STATUSregaddr, ®_data.word0)) { rc = -ENODEV ;
Signature · 1 line
1.7.11.7
Quoted 13 lines · James Smart
Fix the iteration count to match the 30 sec comment in the routine
lpfc_pci_function_resetSigned-off-by Dick Kennedy <[email protected]>Signed-off-by James Smart <[email protected]>--- drivers/scsi/lpfc/lpfc_init.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)drivers/scsi/lpfc/lpfc_init.c +0
-0
drivers/scsi/lpfc/lpfc_init.c wait: · line 7959
Quoted 8 lines
drivers/scsi/lpfc/lpfc_init.c +1
-1@@ -7953,7 +7953,7 @@ wait:* up to 30 seconds. If the port doesn't respond, treat * it as an error. */ -for (rdy_chk =0 ; rdy_chk <3000 ; rdy_chk++) { +for (rdy_chk =0 ; rdy_chk <1500 ; rdy_chk++) {if (lpfc_readl (phba->sli4_hba.u.if_type2. STATUSregaddr, ®_data.word0)) { rc = -ENODEV ;
Reviewed-by Sebastian Herbszt <[email protected]>
Quoted 5 lines · James Smart
Fix the iteration count to match the 30 sec comment in the routine
lpfc_pci_function_resetSigned-off-by Dick Kennedy <[email protected]>Signed-off-by James Smart <[email protected]>---
Reviewed-by Hannes Reinecke <[email protected]>
Cheers,
Hannes
Signature · 8 lines
Dr. Hannes Reinecke zSeries & Storage [email protected] +49 911 74053 688 SUSE LINUX Products GmbH, Maxfeldstr. 5, 90409 Nürnberg GF: J. Hawn, J. Guild, F. Imendörffer, HRB 16746 (AG Nürnberg) -- To unsubscribe from this list: send the line "unsubscribe linux-scsi" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html