Skip to content

Commit

Permalink
mtip32xx: add missing endianess annotations on struct smart_attr
Browse files Browse the repository at this point in the history
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
  • Loading branch information
Christoph Hellwig authored and Jens Axboe committed Nov 9, 2018
1 parent 449a15d commit 643b5f6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions drivers/block/mtip32xx/mtip32xx.h
Original file line number Diff line number Diff line change
@@ -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;

0 comments on commit 643b5f6

Please sign in to comment.