diff options
author | Anuj Gupta <anuj20.g@samsung.com> | 2023-10-18 22:24:30 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2023-11-20 13:59:35 +0300 |
commit | 04e446f54f664f5082778e9283810b56534450c9 (patch) | |
tree | b8fc846d7df2d47054b43969e718abc41275139a /arch/riscv | |
parent | fdfccd3dcb44ef166968f7ca17a490614a8a4352 (diff) | |
download | linux-04e446f54f664f5082778e9283810b56534450c9.tar.xz |
nvme: fix error-handling for io_uring nvme-passthrough
[ Upstream commit 1147dd0503564fa0e03489a039f9e0c748a03db4 ]
Driver may return an error before submitting the command to the device.
Ensure that such error is propagated up.
Fixes: 456cba386e94 ("nvme: wire-up uring-cmd support for io-passthru on char-device.")
Signed-off-by: Anuj Gupta <anuj20.g@samsung.com>
Signed-off-by: Kanchan Joshi <joshi.k@samsung.com>
Reviewed-by: Niklas Cassel <niklas.cassel@wdc.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Keith Busch <kbusch@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'arch/riscv')
0 files changed, 0 insertions, 0 deletions