[PATCH] nvme: uninitialized return in nvme_ns_head_chr_uring_cmd()

Kanchan Joshi joshi.k at samsung.com
Mon May 9 10:37:41 PDT 2022


On Mon, May 09, 2022 at 12:06:42PM +0300, Dan Carpenter wrote:
>The "ret" value is not set if "ns" is zero.
>
>Fixes: 86116c2f6fee ("nvme: wire-up uring-cmd support for io-passthru on char-device.")
>Signed-off-by: Dan Carpenter <dan.carpenter at oracle.com>

This change is already present in the branch.
Folded during -
https://lore.kernel.org/linux-nvme/20220506150357.2443040-1-nathan@kernel.org/


More information about the Linux-nvme mailing list