projects
/
linux-block.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
58f5c8d
)
nvmet: the result field in nvmet_alloc_ctrl_args is little endian
author
Christoph Hellwig
<hch@lst.de>
Tue, 28 Jan 2025 07:55:33 +0000
(08:55 +0100)
committer
Keith Busch
<kbusch@kernel.org>
Tue, 28 Jan 2025 15:07:21 +0000
(07:07 -0800)
So use the __le32 type for it.
Fixes:
6202783184bf
("nvmet: Improve nvmet_alloc_ctrl() interface and implementation")
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Sagi Grimberg <sagi@grimberg.me>
Signed-off-by: Keith Busch <kbusch@kernel.org>
drivers/nvme/target/nvmet.h
patch
|
blob
|
blame
|
history
diff --git
a/drivers/nvme/target/nvmet.h
b/drivers/nvme/target/nvmet.h
index f4df458df9dbbfd7e711361d3a5a910bd1270c05..6a9af4e4d7325598ddff730c00c0f4b8017c7bea 100644
(file)
--- a/
drivers/nvme/target/nvmet.h
+++ b/
drivers/nvme/target/nvmet.h
@@
-582,7
+582,7
@@
struct nvmet_alloc_ctrl_args {
const struct nvmet_fabrics_ops *ops;
struct device *p2p_client;
u32 kato;
-
u32
result;
+
__le32
result;
u16 error_loc;
u16 status;
};