projects
/
GitHub
/
LineageOS
/
G12
/
android_kernel_amlogic_linux-4.9.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c749e6b
)
lpfc: Fix the iteration count to match the 30 sec comment in the routine lpfc_pci_fun...
author
James Smart
<james.smart@emulex.com>
Tue, 7 Apr 2015 19:07:08 +0000
(15:07 -0400)
committer
James Bottomley
<JBottomley@Odin.com>
Fri, 10 Apr 2015 14:44:33 +0000
(07:44 -0700)
Signed-off-by: Dick Kennedy <dick.kennedy@emulex.com>
Signed-off-by: James Smart <james.smart@emulex.com>
Reviewed-by: Hannes Reinecke <hare@suse.de>
Signed-off-by: James Bottomley <JBottomley@Odin.com>
drivers/scsi/lpfc/lpfc_init.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/scsi/lpfc/lpfc_init.c
b/drivers/scsi/lpfc/lpfc_init.c
index 0b2c53af85c7cedc592c4ccd6eccfea6b5140ed6..2b5b91040022148a857998a1e994ae95f051a631 100644
(file)
--- a/
drivers/scsi/lpfc/lpfc_init.c
+++ b/
drivers/scsi/lpfc/lpfc_init.c
@@
-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 <
30
00; rdy_chk++) {
+ for (rdy_chk = 0; rdy_chk <
15
00; rdy_chk++) {
if (lpfc_readl(phba->sli4_hba.u.if_type2.
STATUSregaddr, ®_data.word0)) {
rc = -ENODEV;