nvme: fix async event trace event
authorKeith Busch <kbusch@kernel.org>
Wed, 5 Apr 2023 21:57:20 +0000 (14:57 -0700)
committerChristoph Hellwig <hch@lst.de>
Thu, 13 Apr 2023 06:59:04 +0000 (08:59 +0200)
commit6622b76fe922b94189499a90ccdb714a4a8d0773
tree190439009d7265aa97c48477d1372cd6cc6b339d
parentcf806e3ab1c1878e357fd91205e020ea0dfdafe6
nvme: fix async event trace event

Mixing AER Event Type and Event Info has masking clashes. Just print the
event type, but also include the event info of the AER result in the
trace.

Fixes: 09bd1ff4b15143b ("nvme-core: add async event trace helper")
Reported-by: Nate Thornton <nate.thornton@samsung.com>
Reviewed-by: Sagi Grimberg <sagi@grimberg.me>
Reviewed-by: Minwoo Im <minwoo.im@samsung.com>
Reviewed-by: Chaitanya Kulkarni <kch@nvidia.com>
Signed-off-by: Keith Busch <kbusch@kernel.org>
Signed-off-by: Christoph Hellwig <hch@lst.de>
drivers/nvme/host/core.c
drivers/nvme/host/trace.h