projects
/
firefly-linux-kernel-4.4.55.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge branch 'x86-boot-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git...
[firefly-linux-kernel-4.4.55.git]
/
drivers
/
ata
/
sata_promise.h
diff --git
a/drivers/ata/sata_promise.h
b/drivers/ata/sata_promise.h
index 6ee5e190262de8d55f9689450e8fb08aea67eb77..00d6000e546ff5ba1b3b2bdaa08b66bc130b8555 100644
(file)
--- a/
drivers/ata/sata_promise.h
+++ b/
drivers/ata/sata_promise.h
@@
-46,7
+46,7
@@
static inline unsigned int pdc_pkt_header(struct ata_taskfile *tf,
unsigned int devno, u8 *buf)
{
u8 dev_reg;
-
u32 *buf32 = (u
32 *) buf;
+
__le32 *buf32 = (__le
32 *) buf;
/* set control bits (byte 0), zero delay seq id (byte 3),
* and seq id (byte 2)