[PATCH 2/2] nvme: use return value from blk_execute_rq()

Chaitanya Kulkarni Chaitanya.Kulkarni at wdc.com
Sun Apr 18 05:17:02 BST 2021


On 4/16/21 09:54, Keith Busch wrote:
> We don't have an nvme status to report if the driver's .queue_rq()
> returns an error without dispatching the requested nvme command. Use the
> return value from blk_execute_rq() so the caller may know their command
> was not successful.
>
> Reported-by: Yuanyuan Zhong <yzhong at purestorage.com>
> Signed-off-by: Keith Busch <kbusch at kernel.org>


Looks good.

Reviewed-by: Chaitanya Kulkarni <chaitanya.kulkarni at wdc.com>






More information about the Linux-nvme mailing list