EDAC, mce_amd: Print ExtErrorCode and description on a single line
authorYazen Ghannam <yazen.ghannam@amd.com>
Fri, 1 Feb 2019 22:55:54 +0000 (22:55 +0000)
committerBorislav Petkov <bp@suse.de>
Mon, 4 Feb 2019 18:29:13 +0000 (19:29 +0100)
commit1c1522d32ac49065f88e5a8b3d6e3a5613b20118
tree1f319165a7d2d2e875df283cdc42210aaac2ecc6
parente03447ee718b331be8f3abc388c7bf7d325dfab4
EDAC, mce_amd: Print ExtErrorCode and description on a single line

Save a log line by printing the extended error code and the description
on a single line. This is similar to how errors are printed in other
subsystems, e.g. "#, description". If we don't have a valid description
then only the number/code is printed.

Signed-off-by: Yazen Ghannam <yazen.ghannam@amd.com>
Signed-off-by: Borislav Petkov <bp@suse.de>
Cc: linux-edac <linux-edac@vger.kernel.org>
Cc: Mauro Carvalho Chehab <mchehab@kernel.org>
Cc: Tony Luck <tony.luck@intel.com>
Cc: x86@kernel.org
Link: https://lkml.kernel.org/r/20190201225534.8177-6-Yazen.Ghannam@amd.com
drivers/edac/mce_amd.c