]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
nvme.h: add missing nvme_id_ctrl endianess annotations
authorChristoph Hellwig <hch@lst.de>
Fri, 2 Oct 2015 13:27:16 +0000 (15:27 +0200)
committerJens Axboe <axboe@fb.com>
Fri, 9 Oct 2015 16:40:37 +0000 (10:40 -0600)
Signed-off-by: Christoph Hellwig <hch@lst.de>
Acked-by: Keith Busch <keith.busch@intel.com>
Signed-off-by: Jens Axboe <axboe@fb.com>
include/linux/nvme.h

index 91a805437876065cc1a1bbb78f7a0948698b4d22..9668d3571497f896042ce4aa8eae1daa64844c38 100644 (file)
@@ -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;