[PATCH] nvme-fc: Fix wrong return value in __nvme_fc_init_request()
Chaitanya Kulkarni
Chaitanya.Kulkarni at wdc.com
Sun Aug 2 18:54:48 EDT 2020
On 8/2/20 04:22, Tianjia Zhang wrote:
> On an error exit path, a negative error code should be returned
> instead of a positive return value.
>
> Fixes: e399441de9115 ("nvme-fabrics: Add host support for FC transport")
> Cc: James Smart<jsmart2021 at gmail.com>
> Signed-off-by: Tianjia Zhang<tianjia.zhang at linux.alibaba.com>
Looks good.
Reviewed-by: Chaitanya Kulkarni <chaitanya.kulkarni at wdc.com>
More information about the Linux-nvme
mailing list