[PATCH] nvme: fix identify error status silent ignore

Keith Busch kbusch at kernel.org
Thu Jun 25 13:06:48 EDT 2020


On Wed, Jun 24, 2020 at 05:02:57PM -0700, Sagi Grimberg wrote:
> @@ -1130,7 +1130,7 @@ static int nvme_identify_ns_descs(struct nvme_ctrl *ctrl, unsigned nsid,
> -		if (status > 0 && !(status & NVME_SC_DNR))
> +		if (status > 0 && (status & NVME_SC_DNR))
>  			status = 0;

Just remove the gratuitous parens, and okay to go. I'll rebase the zns
tree with this patch.

Reviewed-by: Keith Busch <kbusch at kernel.org>



More information about the Linux-nvme mailing list