Skip to content

Commit 5a6d3a6

Browse files
committed
nvme: use better description for async reset reason
The NVMe AER notification of a persistent internal error triggers a reset. The existing warning message just says "due to AER", which can be confused with the unrelated PCIe AER condition. Just say what the event was instead of the generic overloaded acronym. Reviewed-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Chaitanya Kulkarni <kch@nvidia.com> Signed-off-by: Keith Busch <kbusch@kernel.org>
1 parent f4bd313 commit 5a6d3a6

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

drivers/nvme/host/core.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4437,7 +4437,8 @@ static bool nvme_handle_aen_notice(struct nvme_ctrl *ctrl, u32 result)
44374437

44384438
static void nvme_handle_aer_persistent_error(struct nvme_ctrl *ctrl)
44394439
{
4440-
dev_warn(ctrl->device, "resetting controller due to AER\n");
4440+
dev_warn(ctrl->device,
4441+
"resetting controller due to persistent internal error\n");
44414442
nvme_reset_ctrl(ctrl);
44424443
}
44434444

0 commit comments

Comments
 (0)