]> git.baikalelectronics.ru Git - kernel.git/commit
scsi: lpfc: Correct localport timeout duration error
authorJames Smart <jsmart2021@gmail.com>
Tue, 12 Mar 2019 23:30:16 +0000 (16:30 -0700)
committerMartin K. Petersen <martin.petersen@oracle.com>
Tue, 19 Mar 2019 17:15:08 +0000 (13:15 -0400)
commitfe31795ef859b8d63d1b9e63fad9f720483159a6
tree1a2b36a07d45010e4bd58aa1b402d4ee47e132f2
parent11c4a7cb5b24c35cf6bc46b02e348f8189d89142
scsi: lpfc: Correct localport timeout duration error

Current code incorrectly specifies a completion wait timeout duration in 5
jiffies, when it should have been 5 seconds.

Fix the adjust for units for the completion timeout call.

[mkp: manual merge]

Signed-off-by: Dick Kennedy <dick.kennedy@broadcom.com>
Signed-off-by: James Smart <jsmart2021@gmail.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/lpfc/lpfc_nvmet.c
drivers/scsi/lpfc/lpfc_nvmet.h