nvme.h: add missing nvme_lba_range_type endianness annotations
authorWesley Sheng <wesley.sheng@amd.com>
Wed, 16 Jun 2021 05:25:08 +0000 (13:25 +0800)
committerChristoph Hellwig <hch@lst.de>
Thu, 17 Jun 2021 13:51:21 +0000 (15:51 +0200)
Signed-off-by: Wesley Sheng <wesley.sheng@amd.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
include/linux/nvme.h

index cb1197f..b7c4c41 100644 (file)
@@ -636,8 +636,8 @@ struct nvme_lba_range_type {
        __u8                    type;
        __u8                    attributes;
        __u8                    rsvd2[14];
-       __u64                   slba;
-       __u64                   nlb;
+       __le64                  slba;
+       __le64                  nlb;
        __u8                    guid[16];
        __u8                    rsvd48[16];
 };