]> asedeno.scripts.mit.edu Git - linux.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)
commit9bf3d3c4e4fd82c7174f4856df372ab2a71005b9
tree494df44b9d86b15d959bfd90aa502f84b6be9b83
parent81b61324922c67f73813d8a9c175f3c153f6a1c6
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: ad67b74d2469 ("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