[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20210616052508.78970-1-wesley.sheng@amd.com>
Date: Wed, 16 Jun 2021 13:25:08 +0800
From: Wesley Sheng <wesley.sheng@....com>
To: <kbusch@...nel.org>, <axboe@...com>, <hch@....de>,
<sagi@...mberg.me>, <linux-nvme@...ts.infradead.org>,
<linux-kernel@...r.kernel.org>
CC: <logang@...tatee.com>, <wesleyshenggit@...a.com>,
<wesley.sheng@....com>
Subject: [PATCH] nvme.h: add missing nvme_lba_range_type endianness annotations
Signed-off-by: Wesley Sheng <wesley.sheng@....com>
---
include/linux/nvme.h | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/include/linux/nvme.h b/include/linux/nvme.h
index edcbd60b88b9..378140e16225 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];
};
--
2.25.1
Powered by blists - more mailing lists