From 8cf486e131b351db4f224078bef8e1efedcf0340 Mon Sep 17 00:00:00 2001 From: Wesley Sheng Date: Wed, 16 Jun 2021 13:25:08 +0800 Subject: nvme.h: add missing nvme_lba_range_type endianness annotations Signed-off-by: Wesley Sheng Signed-off-by: Christoph Hellwig --- include/linux/nvme.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'include/linux/nvme.h') 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]; }; -- cgit v1.2.3-58-ga151