[PATCH] nvme-pci: cleanup nvme_should_reset

Chaitanya Kulkarni chaitanyak at nvidia.com
Mon Mar 27 00:40:32 PDT 2023


On 3/16/23 07:08, Christoph Hellwig wrote:
> Both the comments and the code flow in this function are rather
> confusing.  Directly return the expression that the reset is keyed
> off, and update a comment to match it.
>
> Signed-off-by: Christoph Hellwig <hch at lst.de>
> ---

Looks good.

Reviewed-by: Chaitanya Kulkarni <kch at nvidia.com>

-ck




More information about the Linux-nvme mailing list