Commit a3800b64 authored by Caleb Sander Mateos's avatar Caleb Sander Mateos Committed by Greg Kroah-Hartman
Browse files

nvme/ioctl: don't warn on vectorized uring_cmd with fixed buffer



[ Upstream commit eada7546 ]

The vectorized io_uring NVMe passthru opcodes don't yet support fixed
buffers. But since userspace can trigger this condition based on the
io_uring SQE parameters, it shouldn't cause a kernel warning.

Signed-off-by: default avatarCaleb Sander Mateos <csander@purestorage.com>
Reviewed-by: default avatarJens Axboe <axboe@kernel.dk>
Reviewed-by: default avatarChaitanya Kulkarni <kch@nvidia.com>
Reviewed-by: default avatarChristoph Hellwig <hch@lst.de>
Fixes: 23fd22e5 ("nvme: wire up fixed buffer support for nvme passthrough")
Signed-off-by: default avatarKeith Busch <kbusch@kernel.org>
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent c35ec5e0
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment