diff options
author | Finn Thain <fthain@linux-m68k.org> | 2024-08-07 06:36:28 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2024-10-04 17:29:49 +0300 |
commit | 0120c7762f259be8a8fbd5114a18cf13b3d93a9a (patch) | |
tree | 3e523fd4ed36b930dedbdb876922e924924eac51 /include/linux/fpga/fpga-mgr.h | |
parent | 6e8dc2050a4a701c4ce650ea7dab5d67f3c37820 (diff) | |
download | linux-0120c7762f259be8a8fbd5114a18cf13b3d93a9a.tar.xz |
scsi: mac_scsi: Refactor polling loop
commit 5545c3165cbc98615fe65a44f41167cbb557e410 upstream.
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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/linux/fpga/fpga-mgr.h')
0 files changed, 0 insertions, 0 deletions