diff options
| author | Ranjan Kumar <[email protected]> | 2023-10-20 10:58:49 +0000 |
|---|---|---|
| committer | Martin K. Petersen <[email protected]> | 2023-10-25 02:35:22 +0000 |
| commit | 3c978492c333f0c08248a8d51cecbe5eb5f617c9 (patch) | |
| tree | d1f3d178b04ecc22a95adc43305e503f4d24f571 /tools/perf/scripts/python/task-analyzer.py | |
| parent | scsi: snic: Remove useless code in snic_dr_clean_pending_req() (diff) | |
| download | kernel-3c978492c333f0c08248a8d51cecbe5eb5f617c9.tar.gz kernel-3c978492c333f0c08248a8d51cecbe5eb5f617c9.zip | |
scsi: mpt3sas: Fix loop logic
The retry loop continues to iterate until the count reaches 30, even after
receiving the correct value. Exit loop when a non-zero value is read.
Fixes: 4ca10f3e3174 ("scsi: mpt3sas: Perform additional retries if doorbell read returns 0")
Cc: [email protected]
Signed-off-by: Ranjan Kumar <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Martin K. Petersen <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/task-analyzer.py')
0 files changed, 0 insertions, 0 deletions
