projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cc72c44
)
nvme.h: add missing nvme_lba_range_type endianness annotations
author
Wesley Sheng
<wesley.sheng@amd.com>
Wed, 16 Jun 2021 05:25:08 +0000
(13:25 +0800)
committer
Christoph 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
patch
|
blob
|
history
diff --git
a/include/linux/nvme.h
b/include/linux/nvme.h
index cb1197f1cfed3f52fd5071a90ff29621f5985975..b7c4c4130b65eff7d1b8ad85fa20e67e3b5a4448 100644
(file)
--- 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];
};