projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
449a15d
)
mtip32xx: add missing endianess annotations on struct smart_attr
author
Christoph Hellwig
<hch@lst.de>
Fri, 9 Nov 2018 13:48:58 +0000
(14:48 +0100)
committer
Jens Axboe
<axboe@kernel.dk>
Fri, 9 Nov 2018 15:39:21 +0000
(08:39 -0700)
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
drivers/block/mtip32xx/mtip32xx.h
patch
|
blob
|
history
diff --git
a/drivers/block/mtip32xx/mtip32xx.h
b/drivers/block/mtip32xx/mtip32xx.h
index 0aa1ea2108222c7480863f62446d68e79f637c15..e8b4b3d5365ab2a485f510897402fb3537686d46 100644
(file)
--- a/
drivers/block/mtip32xx/mtip32xx.h
+++ b/
drivers/block/mtip32xx/mtip32xx.h
@@
-172,10
+172,10
@@
enum {
struct smart_attr {
u8 attr_id;
-
u
16 flags;
+
__le
16 flags;
u8 cur;
u8 worst;
-
u
32 data;
+
__le
32 data;
u8 res[3];
} __packed;