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-Url: https://git.stricted.de/?a=commitdiff_plain;h=08c69640cfcbdcc7aaed31c05bbfaf03bb60611c;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.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 91a805437876..9668d3571497 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;