summaryrefslogtreecommitdiffstats
path: root/drivers/ata/libata-core.c
diff options
context:
space:
mode:
authorAl Viro <viro@ZenIV.linux.org.uk>2007-12-30 10:32:22 +0100
committerJeff Garzik <jeff@garzik.org>2008-01-23 11:24:15 +0100
commit4ca4e439640cd1d3659cbcf60e7a73c2ae0450b3 (patch)
tree659dceb7469341dca95d7a96774e787c3b510872 /drivers/ata/libata-core.c
parentlibata: use dev_driver_string() instead of "libata" in libata-sff.c (diff)
downloadlinux-4ca4e439640cd1d3659cbcf60e7a73c2ae0450b3.tar.xz
linux-4ca4e439640cd1d3659cbcf60e7a73c2ae0450b3.zip
libata annotations and fixes
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk> Signed-off-by: Jeff Garzik <jeff@garzik.org>
Diffstat (limited to 'drivers/ata/libata-core.c')
-rw-r--r--drivers/ata/libata-core.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/ata/libata-core.c b/drivers/ata/libata-core.c
index 4020a1d3eb2c..8c82193b077e 100644
--- a/drivers/ata/libata-core.c
+++ b/drivers/ata/libata-core.c
@@ -4949,7 +4949,7 @@ unsigned int ata_data_xfer(struct ata_device *dev, unsigned char *buf,
/* Transfer trailing 1 byte, if any. */
if (unlikely(buflen & 0x01)) {
- u16 align_buf[1] = { 0 };
+ __le16 align_buf[1] = { 0 };
unsigned char *trailing_buf = buf + buflen - 1;
if (rw == READ) {