Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 836413e8 authored by Selvan Mani's avatar Selvan Mani Committed by Jens Axboe
Browse files

mtip32xx: Fix padding issue



Hi Jens,

Another tiny patch.

Removed __packed before the struct smart_attr and added __packed at end of
the structure to fix padding issue.

Signed-off-by: default avatarSelvan Mani <smani@micron.com>
Signed-off-by: default avatarAsai Thambi S P <asamymuthupa@micron.com>
Signed-off-by: default avatarJens Axboe <axboe@kernel.dk>
parent 11cfb6ff
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -155,14 +155,14 @@ enum {
	MTIP_DDF_REBUILD_FAILED_BIT = 8,
};

__packed struct smart_attr{
struct smart_attr {
	u8 attr_id;
	u16 flags;
	u8 cur;
	u8 worst;
	u32 data;
	u8 res[3];
};
} __packed;

/* Register Frame Information Structure (FIS), host to device. */
struct host_to_dev_fis {