• James Bottomley's avatar
    [SCSI] libsas: fix ATAPI check condition termination · 75c0b386
    James Bottomley authored
    ATAPI check condition needs to be treated the same as a success or
    protocol return.  The register returns from the PACKET command are all
    correctly positioned in the device to host register FIS and so we
    should collect them properly.  Right at the moment this doesn't matter
    because libata sends a request sense always for ATAPI errors, but if
    it ever checked the registers, we should have the correct contents
    just in case.
    Signed-off-by: default avatarJames Bottomley <James.Bottomley@suse.de>
    75c0b386
sas_ata.c 20.9 KB