Skip to content
Commit 1f4137e8 authored by Keith Busch's avatar Keith Busch
Browse files

nvme: move passthrough logging attribute to head



The namespace does not have attributes, but the head does. Move the new
logging attribute to that structure instead of dereferencing the wrong
type.

And while we're here, fix the reverse-tree coding style.

Fixes: 9f079dda ("nvme: allow passthru cmd error logging")
Reported-by: default avatarTasmiya Nalatwad <tasmiya@linux.vnet.ibm.com>
Tested-by: default avatarTasmiya Nalatwad <tasmiya@linux.vnet.ibm.com>
Reviewed-by: default avatarChaitanya Kulkarni <kch@nvidia.com>
Reviewed-by: default avatarAlan Adamson <alan.adamson@oracle.com>
Signed-off-by: default avatarKeith Busch <kbusch@kernel.org>
parent f0377ff9
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment