Skip to content

Commit

Permalink
EDAC, mce_amd: Give more context to deferred error message
Browse files Browse the repository at this point in the history
Users may not be familiar with the concept of deferred errors. There is
no action for users to take on this type of error, so give more context
in the error message to make this more clear.

Signed-off-by: Yazen Ghannam <[email protected]>
Cc: linux-edac <[email protected]>
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Borislav Petkov <[email protected]>
  • Loading branch information
yghannam authored and suryasaimadhu committed Jan 28, 2017
1 parent 58fb24c commit 67d7fd3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/edac/mce_amd.c
Original file line number Diff line number Diff line change
Expand Up @@ -937,7 +937,7 @@ static const char *decode_error_status(struct mce *m)
}

if (m->status & MCI_STATUS_DEFERRED)
return "Deferred error.";
return "Deferred error, no action required.";

return "Corrected error, no action required.";
}
Expand Down

0 comments on commit 67d7fd3

Please sign in to comment.