From: Christoph Hellwig Date: Fri, 9 Nov 2018 13:48:58 +0000 (+0100) Subject: mtip32xx: add missing endianess annotations on struct smart_attr X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=643b5f68d0f9b5a269ebbcc9f0e6c658b41b864e;p=linux.git mtip32xx: add missing endianess annotations on struct smart_attr Signed-off-by: Christoph Hellwig Signed-off-by: Jens Axboe --- diff --git a/drivers/block/mtip32xx/mtip32xx.h b/drivers/block/mtip32xx/mtip32xx.h index 0aa1ea2108222..e8b4b3d5365ab 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;