]> www.infradead.org Git - nvme.git/commit
nvmet: the result field in nvmet_alloc_ctrl_args is little endian
authorChristoph Hellwig <hch@lst.de>
Tue, 28 Jan 2025 07:55:33 +0000 (08:55 +0100)
committerKeith Busch <kbusch@kernel.org>
Tue, 28 Jan 2025 15:07:21 +0000 (07:07 -0800)
commit7bf6b497a747b0e28a411beacdd62f1488d0781c
treeee1430fbe90f4517de74290c8da5335a937f38be
parent58f5c8d5ca07a2f9fa93fb073f5b1646ec482ff2
nvmet: the result field in nvmet_alloc_ctrl_args is little endian

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