diff options
author | Damien Le Moal <[email protected]> | 2024-10-22 11:45:33 +0900 |
---|---|---|
committer | Niklas Cassel <[email protected]> | 2024-10-25 10:09:49 +0200 |
commit | 44bdde151a6f5b34993c570a8f6508e2e00b56e1 (patch) | |
tree | 70a6f99f2bba23c1ebcefafc9a2aa6a77ee58edd /drivers/fpga/fpga-mgr.c | |
parent | b055e3be63bebc3c50d0fb1830de9bf4f2be388d (diff) |
ata: libata-scsi: Refactor ata_scsiop_read_cap()
Move the check for the scsi command service action being
SAI_READ_CAPACITY_16 from ata_scsi_simulate() into ata_scsiop_read_cap()
to simplify ata_scsi_simulate() for processing capacity reading commands
(READ_CAPACITY and SERVICE_ACTION_IN_16).
Signed-off-by: Damien Le Moal <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Niklas Cassel <[email protected]>
Diffstat (limited to 'drivers/fpga/fpga-mgr.c')
0 files changed, 0 insertions, 0 deletions