]> www.infradead.org Git - users/jedix/linux-maple.git/commit
nvme/ioctl: don't warn on vectorized uring_cmd with fixed buffer
authorCaleb Sander Mateos <csander@purestorage.com>
Fri, 28 Mar 2025 15:46:45 +0000 (09:46 -0600)
committerKeith Busch <kbusch@kernel.org>
Tue, 1 Apr 2025 16:01:05 +0000 (09:01 -0700)
commiteada75467fca0b016b9b22212637c07216135c20
tree454702cd13c7e244853bf8b39132432c6ec6eb03
parentea7789c1541084a3dae65ffd36778348dd98f61b
nvme/ioctl: don't warn on vectorized uring_cmd with fixed buffer

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: Caleb Sander Mateos <csander@purestorage.com>
Reviewed-by: Jens Axboe <axboe@kernel.dk>
Reviewed-by: Chaitanya Kulkarni <kch@nvidia.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Fixes: 23fd22e55b76 ("nvme: wire up fixed buffer support for nvme passthrough")
Signed-off-by: Keith Busch <kbusch@kernel.org>
drivers/nvme/host/ioctl.c