powerpc/traps: fix machine check handlers to use pr_cont()

Michael Ellerman patch-notifications at ellerman.id.au
Fri Oct 19 13:51:24 AEDT 2018


On Mon, 2018-10-15 at 07:20:45 UTC, Christophe Leroy wrote:
> 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 at c-s.fr>

Applied to powerpc next, thanks.

https://git.kernel.org/powerpc/c/422123ccb9a13dcea2e008194ae6c2

cheers


More information about the Linuxppc-dev mailing list