summaryrefslogtreecommitdiffstats
path: root/include/linux/nvme.h
diff options
context:
space:
mode:
authorWesley Sheng <wesley.sheng@amd.com>2021-06-16 13:25:08 +0800
committerChristoph Hellwig <hch@lst.de>2021-06-17 15:51:21 +0200
commit8cf486e131b351db4f224078bef8e1efedcf0340 (patch)
treeb1552191ffe354bc4e7c3b39ff0f3f32e82de78e /include/linux/nvme.h
parentcc72c4426764d1716839e9ec591ee8e161ed5cbc (diff)
downloadlinux-8cf486e131b351db4f224078bef8e1efedcf0340.tar.bz2
nvme.h: add missing nvme_lba_range_type endianness annotations
Signed-off-by: Wesley Sheng <wesley.sheng@amd.com> Signed-off-by: Christoph Hellwig <hch@lst.de>
Diffstat (limited to 'include/linux/nvme.h')
-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 cb1197f1cfed..b7c4c4130b65 100644
--- a/include/linux/nvme.h
+++ b/include/linux/nvme.h
@@ -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];
};