summaryrefslogtreecommitdiff
path: root/README
diff options
context:
space:
mode:
authorNiklas Cassel <niklas.cassel@wdc.com>2023-09-18 23:24:50 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2023-10-06 15:57:02 +0300
commit06fba8a8dea22c2260785cafd74e6d42ac38711a (patch)
tree19bf09030760f8e826edf9e8103c0eefe1bafd25 /README
parent476fd029e7008722da9e2326af30f69cd187417a (diff)
downloadlinux-06fba8a8dea22c2260785cafd74e6d42ac38711a.tar.xz
ata: libata-scsi: ignore reserved bits for REPORT SUPPORTED OPERATION CODES
commit 3ef600923521616ebe192c893468ad0424de2afb upstream. For REPORT SUPPORTED OPERATION CODES command, the service action field is defined as bits 0-4 in the second byte in the CDB. Bits 5-7 in the second byte are reserved. Only look at the service action field in the second byte when determining if the MAINTENANCE IN opcode is a REPORT SUPPORTED OPERATION CODES command. This matches how we only look at the service action field in the second byte when determining if the SERVICE ACTION IN(16) opcode is a READ CAPACITY(16) command (reserved bits 5-7 in the second byte are ignored). Fixes: 7b2030942859 ("libata: Add support for SCT Write Same") Cc: stable@vger.kernel.org Signed-off-by: Niklas Cassel <niklas.cassel@wdc.com> Signed-off-by: Damien Le Moal <dlemoal@kernel.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'README')
0 files changed, 0 insertions, 0 deletions