Commit bfd9c138 authored by Keith Busch's avatar Keith Busch Committed by sanglipeng
Browse files

nvme: fix async event trace event

stable inclusion
from stable-v5.10.180
commit e119d1918303505ac9b6dd263a46a7e09d6f1684
category: bugfix
bugzilla: https://gitee.com/openeuler/kernel/issues/I8DDFN

Reference: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=e119d1918303505ac9b6dd263a46a7e09d6f1684



--------------------------------

[ Upstream commit 6622b76f ]

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: 09bd1ff4 ("nvme-core: add async event trace helper")
Reported-by: default avatarNate Thornton <nate.thornton@samsung.com>
Reviewed-by: default avatarSagi Grimberg <sagi@grimberg.me>
Reviewed-by: default avatarMinwoo Im <minwoo.im@samsung.com>
Reviewed-by: default avatarChaitanya Kulkarni <kch@nvidia.com>
Signed-off-by: default avatarKeith Busch <kbusch@kernel.org>
Signed-off-by: default avatarChristoph Hellwig <hch@lst.de>
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
Signed-off-by: default avatarsanglipeng <sanglipeng1@jd.com>
parent ddd7c0a5
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment