From: Christoph Hellwig Date: Fri, 2 Oct 2015 13:27:16 +0000 (+0200) Subject: nvme.h: add missing nvme_id_ctrl endianess annotations X-Git-Tag: v4.4-rc1~133^2~7 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=08c69640cfcbdcc7aaed31c05bbfaf03bb60611c;p=thirdparty%2Fkernel%2Flinux.git nvme.h: add missing nvme_id_ctrl endianess annotations Signed-off-by: Christoph Hellwig Acked-by: Keith Busch Signed-off-by: Jens Axboe --- diff --git a/include/linux/nvme.h b/include/linux/nvme.h index 91a8054378760..9668d3571497f 100644 --- a/include/linux/nvme.h +++ b/include/linux/nvme.h @@ -104,8 +104,8 @@ struct nvme_id_ctrl { __u8 ieee[3]; __u8 mic; __u8 mdts; - __u16 cntlid; - __u32 ver; + __le16 cntlid; + __le32 ver; __u8 rsvd84[172]; __le16 oacs; __u8 acl;