summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2015-10-02 15:27:16 +0200
committerJens Axboe <axboe@fb.com>2015-10-09 10:40:37 -0600
commit08c69640cfcbdcc7aaed31c05bbfaf03bb60611c (patch)
tree18db79319b1f2fff691b855b78874726a8333e24
parent9d99a8dda154f38307d43d9c9aa504bd3703d596 (diff)
downloadlinux-08c69640cfcbdcc7aaed31c05bbfaf03bb60611c.tar.bz2
nvme.h: add missing nvme_id_ctrl endianess annotations
Signed-off-by: Christoph Hellwig <hch@lst.de> Acked-by: Keith Busch <keith.busch@intel.com> Signed-off-by: Jens Axboe <axboe@fb.com>
-rw-r--r--include/linux/nvme.h4
1 files changed, 2 insertions, 2 deletions
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;