diff options
author | Damien Le Moal <dlemoal@kernel.org> | 2024-10-22 11:45:32 +0900 |
---|---|---|
committer | Niklas Cassel <cassel@kernel.org> | 2024-10-25 10:09:49 +0200 |
commit | b055e3be63bebc3c50d0fb1830de9bf4f2be388d (patch) | |
tree | 81a1d36cda08695221980a5751cf20b66b07cc6d /drivers/platform/surface/aggregator/ssh_parser.c | |
parent | 08b64eeee4d6ce245c9291dd18d249c3b86723b7 (diff) | |
download | linux-b055e3be63bebc3c50d0fb1830de9bf4f2be388d.tar.gz linux-b055e3be63bebc3c50d0fb1830de9bf4f2be388d.tar.bz2 linux-b055e3be63bebc3c50d0fb1830de9bf4f2be388d.zip |
ata: libata-scsi: Refactor ata_scsi_simulate()
Factor out the code handling the INQUIRY command in ata_scsi_simulate()
using the function ata_scsi_rbuf_fill() with the new actor
ata_scsiop_inquiry(). This new actor function calls the existing actors
to handle the standard inquiry as well as extended inquiry (VPD page
access).
Signed-off-by: Damien Le Moal <dlemoal@kernel.org>
Link: https://lore.kernel.org/r/20241022024537.251905-2-dlemoal@kernel.org
Signed-off-by: Niklas Cassel <cassel@kernel.org>
Diffstat (limited to 'drivers/platform/surface/aggregator/ssh_parser.c')
0 files changed, 0 insertions, 0 deletions