diff mbox series

[5/9] mtip32xx: add missing endianess annotations on struct smart_attr

Message ID 20181109134902.32057-6-hch@lst.de (mailing list archive)
State New, archived
Headers show
Series [1/9] mtip32xx: move the blk_rq_map_sg call to mtip_hw_submit_io | expand

Commit Message

Christoph Hellwig Nov. 9, 2018, 1:48 p.m. UTC
Signed-off-by: Christoph Hellwig <hch@lst.de>
---
 drivers/block/mtip32xx/mtip32xx.h | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
diff mbox series

Patch

diff --git a/drivers/block/mtip32xx/mtip32xx.h b/drivers/block/mtip32xx/mtip32xx.h
index 0aa1ea210822..e8b4b3d5365a 100644
--- a/drivers/block/mtip32xx/mtip32xx.h
+++ b/drivers/block/mtip32xx/mtip32xx.h
@@ -172,10 +172,10 @@  enum {
 
 struct smart_attr {
 	u8 attr_id;
-	u16 flags;
+	__le16 flags;
 	u8 cur;
 	u8 worst;
-	u32 data;
+	__le32 data;
 	u8 res[3];
 } __packed;