Skip to content

Commit 643b5f6

Browse files
Christoph Hellwigaxboe
authored andcommitted
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>
1 parent 449a15d commit 643b5f6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

drivers/block/mtip32xx/mtip32xx.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -172,10 +172,10 @@ enum {
172172

173173
struct smart_attr {
174174
u8 attr_id;
175-
u16 flags;
175+
__le16 flags;
176176
u8 cur;
177177
u8 worst;
178-
u32 data;
178+
__le32 data;
179179
u8 res[3];
180180
} __packed;
181181

0 commit comments

Comments
 (0)