]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc/traps: fix machine check handlers to use pr_cont()
authorChristophe Leroy <christophe.leroy@c-s.fr>
Mon, 15 Oct 2018 07:20:45 +0000 (07:20 +0000)
committerMichael Ellerman <mpe@ellerman.id.au>
Thu, 18 Oct 2018 13:56:17 +0000 (00:56 +1100)
commit0f67e6f69cb9de8af8652a79b943016ffe280f79
treeb696fd12d912a0200223a23cfc1ebc012c818802
parent2bdb27b321d3fac376bc071d0f1c86cc91f9a0e0
powerpc/traps: fix machine check handlers to use pr_cont()

When printing the machine check cause, the cause appears on the
following line due to bad use of printk without \n:

[   33.663993] Machine check in kernel mode.
[   33.664011] Caused by (from SRR1=9032):
[   33.664036] Data access error at address c90c8000

This patch fixes it by using pr_cont() for the second part:

[  133.258131] Machine check in kernel mode.
[  133.258146] Caused by (from SRR1=9032): Data access error at address c90c8000

Signed-off-by: Christophe Leroy <christophe.leroy@c-s.fr>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/kernel/traps.c
arch/powerpc/platforms/8xx/machine_check.c