Skip to content

Commit 8cf486e

Browse files
Wesley ShengChristoph Hellwig
authored andcommitted
nvme.h: add missing nvme_lba_range_type endianness annotations
Signed-off-by: Wesley Sheng <[email protected]> Signed-off-by: Christoph Hellwig <[email protected]>
1 parent cc72c44 commit 8cf486e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

include/linux/nvme.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -636,8 +636,8 @@ struct nvme_lba_range_type {
636636
__u8 type;
637637
__u8 attributes;
638638
__u8 rsvd2[14];
639-
__u64 slba;
640-
__u64 nlb;
639+
__le64 slba;
640+
__le64 nlb;
641641
__u8 guid[16];
642642
__u8 rsvd48[16];
643643
};

0 commit comments

Comments
 (0)