diff options
author | Finn Thain <fthain@linux-m68k.org> | 2024-08-07 13:36:28 +1000 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2024-08-12 22:05:48 -0400 |
commit | 5545c3165cbc98615fe65a44f41167cbb557e410 (patch) | |
tree | 15ddccbf29ac58b848924956c041cc322d0249ac /tools/perf/scripts/python/task-analyzer.py | |
parent | 5ec4f820cb9766e4583df947150a6febce8da794 (diff) |
scsi: mac_scsi: Refactor polling loop
Before the error handling can be revised, some preparation is needed.
Refactor the polling loop with a new function, macscsi_wait_for_drq().
This function will gain more call sites in the next patch.
Cc: stable@vger.kernel.org # 5.15+
Tested-by: Stan Johnson <userm57@yahoo.com>
Signed-off-by: Finn Thain <fthain@linux-m68k.org>
Link: https://lore.kernel.org/r/6a5ffabb4290c0d138c6d285fda8fa3902e926f0.1723001788.git.fthain@linux-m68k.org
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'tools/perf/scripts/python/task-analyzer.py')
0 files changed, 0 insertions, 0 deletions