[PATCH] nvme: move passthrough logging attribute to head

alan.adamson at oracle.com alan.adamson at oracle.com
Wed Feb 7 10:28:19 PST 2024


On 2/6/24 9:50 AM, Keith Busch wrote:
> From: Keith Busch <kbusch at kernel.org>
>
> The namespace does not have attributes, but the head does. Move the new
> attribute to that structure instead of dereferncing the wrong type.
>
> And while we're here, fix the reverse-tree coding style.
>
> Fixes: 9f079dda14339e ("nvme: allow passthru cmd error logging")
> Reported-by: Tasmiya Nalatwad <tasmiya at linux.vnet.ibm.com>
> Cc: Alan Adamson <alan.adamson at oracle.com>
> Signed-off-by: Keith Busch <kbusch at kernel.org>

Looks good.

Reviewed-by: Alan Adamson <alan.adamson at oracle.com>

I tested it with blktest tests I'm putting together for passthrough errors.

Alan




More information about the Linux-nvme mailing list