summaryrefslogtreecommitdiffstats
path: root/lib/lshrdi3.c
diff options
context:
space:
mode:
authorLaurence Oberman <loberman@redhat.com>2019-11-19 10:46:34 -0500
committerMartin K. Petersen <martin.petersen@oracle.com>2019-11-19 22:31:18 -0500
commit65309ef6b258f5a7b57c1033a82ba2aba5c434cc (patch)
treecaa1764cd07744e1ff1325f8b3d59ce0c11bf2b4 /lib/lshrdi3.c
parentc941e0d172605731de9b4628bd4146d35cf2e7d6 (diff)
downloadlinux-65309ef6b258f5a7b57c1033a82ba2aba5c434cc.tar.bz2
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>
Diffstat (limited to 'lib/lshrdi3.c')
0 files changed, 0 insertions, 0 deletions