linux/drivers/scsi/bnx2fc
Laurence Oberman 65309ef6b2 scsi: bnx2fc: timeout calculation invalid for bnx2fc_eh_abort()
In the bnx2fc_eh_abort() function there is a calculation for
wait_for_completion that uses a HZ multiplier.  This is incorrect, it
scales the timeout by 1000 seconds instead of converting the ms value to
jiffies.  Therefore change the calculation.

Link: https://lore.kernel.org/r/1574178394-16635-1-git-send-email-loberman@redhat.com
Reported-by: David Jeffery <djeffery@redhat.com>
Reviewed-by: John Pittman <jpittman@redhat.com>
Reviewed-by: Chad Dupuis <cdupuis1@gmail.com>
Signed-off-by: Laurence Oberman <loberman@redhat.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
2019-11-19 22:31:18 -05:00
..
57xx_hsi_bnx2fc.h scsi: Fix various misspellings of "connect" 2019-10-24 21:22:32 -04:00
bnx2fc_constants.h
bnx2fc_debug.c
bnx2fc_debug.h
bnx2fc_els.c scsi: bnx2fc: fix bnx2fc_cmd refcount imbalance in send_srr 2019-06-26 22:43:02 -04:00
bnx2fc_fcoe.c SCSI misc on 20190919 2019-09-21 10:50:15 -07:00
bnx2fc_hwi.c scsi: bnx2fc: remove set but not used variables 'task','port','orig_task' 2019-08-29 18:53:43 -04:00
bnx2fc_io.c scsi: bnx2fc: timeout calculation invalid for bnx2fc_eh_abort() 2019-11-19 22:31:18 -05:00
bnx2fc_tgt.c scsi: bnx2fc: Separate out completion flags and variables for abort and cleanup 2019-06-26 22:42:38 -04:00
bnx2fc.h scsi: bnx2fc: Update the driver version to 2.12.10 2019-06-26 22:42:48 -04:00
Kconfig treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
Makefile treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00