diff options
Diffstat (limited to 'drivers/scsi/libata-scsi.c')
-rw-r--r-- | drivers/scsi/libata-scsi.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/scsi/libata-scsi.c b/drivers/scsi/libata-scsi.c index bb30fcdc9297..7e37f488f591 100644 --- a/drivers/scsi/libata-scsi.c +++ b/drivers/scsi/libata-scsi.c | |||
@@ -1129,6 +1129,8 @@ static unsigned int ata_scsi_rw_xlat(struct ata_queued_cmd *qc, const u8 *scsicm | |||
1129 | * length 0 means transfer 0 block of data. | 1129 | * length 0 means transfer 0 block of data. |
1130 | * However, for ATA R/W commands, sector count 0 means | 1130 | * However, for ATA R/W commands, sector count 0 means |
1131 | * 256 or 65536 sectors, not 0 sectors as in SCSI. | 1131 | * 256 or 65536 sectors, not 0 sectors as in SCSI. |
1132 | * | ||
1133 | * WARNING: one or two older ATA drives treat 0 as 0... | ||
1132 | */ | 1134 | */ |
1133 | goto nothing_to_do; | 1135 | goto nothing_to_do; |
1134 | 1136 | ||