[PATCH] nvme: fix identify error status silent ignore

Sagi Grimberg sagi at grimberg.me
Thu Jun 25 14:13:37 EDT 2020


>> @@ -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.

I think it reads better as is, but I don't care too much.

Do note that this should go to 5.8-rc and the zns will
go to 5.9, but we should be able to handle that as its
early enough...



More information about the Linux-nvme mailing list