mtip32xx: add missing endianess annotations on struct smart_attr
Signed-off-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Jens Axboe <axboe@kernel.dk>
This commit is contained in:
parent
449a15d9e4
commit
643b5f68d0
@ -172,10 +172,10 @@ enum {
|
|||||||
|
|
||||||
struct smart_attr {
|
struct smart_attr {
|
||||||
u8 attr_id;
|
u8 attr_id;
|
||||||
u16 flags;
|
__le16 flags;
|
||||||
u8 cur;
|
u8 cur;
|
||||||
u8 worst;
|
u8 worst;
|
||||||
u32 data;
|
__le32 data;
|
||||||
u8 res[3];
|
u8 res[3];
|
||||||
} __packed;
|
} __packed;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user