ata: libata-scsi: improve ata_scsiop_maint_in()
authorDamien Le Moal <damien.lemoal@opensource.wdc.com>
Thu, 29 Dec 2022 17:00:03 +0000 (18:00 +0100)
committerDamien Le Moal <damien.lemoal@opensource.wdc.com>
Wed, 4 Jan 2023 04:41:16 +0000 (13:41 +0900)
commit002c487119f2c740bad0a3acbd356d4a57d237c3
tree697b5a549b3c78006f482a4d1bd669a4dcafd155
parent7574a8377c7afc5e5ccbb62d9602d25c033a0f1b
ata: libata-scsi: improve ata_scsiop_maint_in()

Allow translation of REPORT_SUPPORTED_OPERATION_CODES commands using
the command format 0x3, that is, checking support for commands that are
identified using an opcode and a service action.

Signed-off-by: Damien Le Moal <damien.lemoal@opensource.wdc.com>
Signed-off-by: Niklas Cassel <niklas.cassel@wdc.com>
drivers/ata/libata-scsi.c