1
0
Fork 0
mirror of synced 2025-03-06 20:59:54 +01:00

nvmet: the result field in nvmet_alloc_ctrl_args is little endian

So use the __le32 type for it.

Fixes: 6202783184 ("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>
This commit is contained in:
Christoph Hellwig 2025-01-28 08:55:33 +01:00 committed by Keith Busch
parent 58f5c8d5ca
commit 7bf6b497a7

View file

@ -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;
};