projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c4bc7d7
)
libata: use the WRITE_SAME_16 define
author
Christoph Hellwig
<hch@lst.de>
Thu, 10 Dec 2009 09:36:01 +0000
(10:36 +0100)
committer
Jeff Garzik
<jgarzik@redhat.com>
Thu, 17 Dec 2009 06:02:09 +0000
(
01:02
-0500)
Now that the scsi tree has hit mainline we can use the newly added WRITE_SAME_16
define.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
drivers/ata/libata-scsi.c
patch
|
blob
|
history
diff --git
a/drivers/ata/libata-scsi.c
b/drivers/ata/libata-scsi.c
index 1683ebda900b788f0e0842d04da0f9576c8830ba..f4ea5a8c325bf5a618450b37ae229f603c30c8de 100644
(file)
--- a/
drivers/ata/libata-scsi.c
+++ b/
drivers/ata/libata-scsi.c
@@
-3022,7
+3022,7
@@
static inline ata_xlat_func_t ata_get_xlat_func(struct ata_device *dev, u8 cmd)
case WRITE_16:
return ata_scsi_rw_xlat;
- case
0x93 /*WRITE_SAME_16*/
:
+ case
WRITE_SAME_16
:
return ata_scsi_write_same_xlat;
case SYNCHRONIZE_CACHE: