Re: [PATCH] nvme-fc: Fix wrong return value in __nvme_fc_init_request()

From: Chaitanya Kulkarni
Date: Sun Aug 02 2020 - 18:59:16 EST


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@xxxxxxxxx>
> Signed-off-by: Tianjia Zhang<tianjia.zhang@xxxxxxxxxxxxxxxxx>

Looks good.

Reviewed-by: Chaitanya Kulkarni <chaitanya.kulkarni@xxxxxxx>