diff options
author | Christoph Hellwig <hch@lst.de> | 2015-10-02 15:27:16 +0200 |
---|---|---|
committer | Jens Axboe <axboe@fb.com> | 2015-10-09 18:40:37 +0200 |
commit | 08c69640cfcbdcc7aaed31c05bbfaf03bb60611c (patch) | |
tree | 18db79319b1f2fff691b855b78874726a8333e24 | |
parent | nvme: move hardware structures out of the uapi version of nvme.h (diff) | |
download | linux-08c69640cfcbdcc7aaed31c05bbfaf03bb60611c.tar.xz linux-08c69640cfcbdcc7aaed31c05bbfaf03bb60611c.zip |
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.h | 4 |
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; |