]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc/traps: Fix the message printed when stack overflows
authorChristophe Leroy <christophe.leroy@c-s.fr>
Tue, 29 Jan 2019 16:37:55 +0000 (16:37 +0000)
committerMichael Ellerman <mpe@ellerman.id.au>
Wed, 30 Jan 2019 12:31:44 +0000 (23:31 +1100)
commit089422a6501ce946b29eeca3346a051b81c0fe8e
tree494df44b9d86b15d959bfd90aa502f84b6be9b83
parentff129b6a60d158975e278995c65880c3fd1d2e05
powerpc/traps: Fix the message printed when stack overflows

Today's message is useless:

  [   42.253267] Kernel stack overflow in process (ptrval), r1=c65500b0

This patch fixes it:

  [   66.905235] Kernel stack overflow in process sh[356], r1=c65560b0

Fixes: c50104c2c22f ("printk: hash addresses printed with %p")
Cc: stable@vger.kernel.org # v4.15+
Signed-off-by: Christophe Leroy <christophe.leroy@c-s.fr>
[mpe: Use task_pid_nr()]
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/kernel/traps.c