summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBalbir Singh <bsingharora@gmail.com>2017-09-29 06:26:52 +0200
committerMichael Ellerman <mpe@ellerman.id.au>2017-10-16 14:11:50 +0200
commit81b61fa7a065e639d097b09c303e3212e4264fac (patch)
tree1125433ed2d47e170fa47df31a2f1d0cc062efe2
parentpowerpc/mce: Remove unused function get_mce_fault_addr() (diff)
downloadlinux-81b61fa7a065e639d097b09c303e3212e4264fac.tar.xz
linux-81b61fa7a065e639d097b09c303e3212e4264fac.zip
powerpc/mce: Align the print of physical address better
Use the same alignment as Effective address. Signed-off-by: Balbir Singh <bsingharora@gmail.com> Reviewed-by: Nicholas Piggin <npiggin@gmail.com> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to '')
-rw-r--r--arch/powerpc/kernel/mce.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/powerpc/kernel/mce.c b/arch/powerpc/kernel/mce.c
index 6757720b1979..d1775bdade72 100644
--- a/arch/powerpc/kernel/mce.c
+++ b/arch/powerpc/kernel/mce.c
@@ -340,7 +340,7 @@ void machine_check_print_event_info(struct machine_check_event *evt,
printk("%s Effective address: %016llx\n",
level, evt->u.ue_error.effective_address);
if (evt->u.ue_error.physical_address_provided)
- printk("%s Physical address: %016llx\n",
+ printk("%s Physical address: %016llx\n",
level, evt->u.ue_error.physical_address);
break;
case MCE_ERROR_TYPE_SLB: