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:
parent
58f5c8d5ca
commit
7bf6b497a7
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
};
|
||||
|
|
Loading…
Add table
Reference in a new issue