* [PATCH] nvme.h: add missing nvme_lba_range_type endianness annotations
@ 2021-06-16 5:25 Wesley Sheng
2021-06-17 13:54 ` Christoph Hellwig
0 siblings, 1 reply; 2+ messages in thread
From: Wesley Sheng @ 2021-06-16 5:25 UTC (permalink / raw)
To: kbusch, axboe, hch, sagi, linux-nvme, linux-kernel
Cc: logang, wesleyshenggit, wesley.sheng
Signed-off-by: Wesley Sheng <wesley.sheng@amd.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
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] nvme.h: add missing nvme_lba_range_type endianness annotations
2021-06-16 5:25 [PATCH] nvme.h: add missing nvme_lba_range_type endianness annotations Wesley Sheng
@ 2021-06-17 13:54 ` Christoph Hellwig
0 siblings, 0 replies; 2+ messages in thread
From: Christoph Hellwig @ 2021-06-17 13:54 UTC (permalink / raw)
To: Wesley Sheng
Cc: kbusch, axboe, hch, sagi, linux-nvme, linux-kernel, logang,
wesleyshenggit
Thanks,
applied to nvme-5.14.
(and I hope you do not actually plan to use the horribly ill defined
LBA ranges for anything..)
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2021-06-17 13:54 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-06-16 5:25 [PATCH] nvme.h: add missing nvme_lba_range_type endianness annotations Wesley Sheng
2021-06-17 13:54 ` Christoph Hellwig
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox