projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3b44f13
)
[PATCH] libata: Note a nasty ATA quirk
author
Alan Cox
<alan@lxorguk.ukuu.org.uk>
Mon, 7 Nov 2005 17:06:33 +0000
(17:06 +0000)
committer
Jeff Garzik
<jgarzik@pobox.com>
Thu, 10 Nov 2005 12:30:37 +0000
(07:30 -0500)
Signed-off-by: Alan Cox <alan@redhat.com>
Signed-off-by: Jeff Garzik <jgarzik@pobox.com>
drivers/scsi/libata-scsi.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/scsi/libata-scsi.c
b/drivers/scsi/libata-scsi.c
index bb30fcdc929763d767ad369267207dff7a624a53..7e37f488f591d5240f1371f265c583aa9c735944 100644
(file)
--- 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
* length 0 means transfer 0 block of data.
* However, for ATA R/W commands, sector count 0 means
* 256 or 65536 sectors, not 0 sectors as in SCSI.
+ *
+ * WARNING: one or two older ATA drives treat 0 as 0...
*/
goto nothing_to_do;