diff options
| author | Laurence Oberman <[email protected]> | 2019-11-19 15:46:34 +0000 |
|---|---|---|
| committer | Martin K. Petersen <[email protected]> | 2019-11-20 03:31:18 +0000 |
| commit | 65309ef6b258f5a7b57c1033a82ba2aba5c434cc (patch) | |
| tree | caa1764cd07744e1ff1325f8b3d59ce0c11bf2b4 /drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c | |
| parent | scsi: target: core: Fix a pr_debug() argument (diff) | |
| download | kernel-65309ef6b258f5a7b57c1033a82ba2aba5c434cc.tar.gz kernel-65309ef6b258f5a7b57c1033a82ba2aba5c434cc.zip | |
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/[email protected]
Reported-by: David Jeffery <[email protected]>
Reviewed-by: John Pittman <[email protected]>
Reviewed-by: Chad Dupuis <[email protected]>
Signed-off-by: Laurence Oberman <[email protected]>
Signed-off-by: Martin K. Petersen <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c')
0 files changed, 0 insertions, 0 deletions
