Skip to content
Snippets Groups Projects
user avatar
Laurence Oberman authored
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: default avatarDavid Jeffery <djeffery@redhat.com>
Reviewed-by: default avatarJohn Pittman <jpittman@redhat.com>
Reviewed-by: default avatarChad Dupuis <cdupuis1@gmail.com>
Signed-off-by: default avatarLaurence Oberman <loberman@redhat.com>
Signed-off-by: default avatarMartin K. Petersen <martin.petersen@oracle.com>
65309ef6
History
Name Last commit Last update