]> git.baikalelectronics.ru Git - kernel.git/commit
sh: fault: Fix duplicate printing of "PC:"
authorGeert Uytterhoeven <geert+renesas@glider.be>
Wed, 17 Jun 2020 14:36:31 +0000 (16:36 +0200)
committerRich Felker <dalias@libc.org>
Sat, 15 Aug 2020 02:05:07 +0000 (22:05 -0400)
commit61478416c51c784973178b1933245715fb52e4ee
treecbc50f9c5b3d541d0e7e8528247e545392c33d28
parent3e48c3309c46e488a27d492d83b09947b341c5a5
sh: fault: Fix duplicate printing of "PC:"

Somewhere along the patch handling path, both the old "printk(KERN_ALERT
....)" and the new "pr_alert(...)" were retained, leading to the
duplicate printing of "PC:".

Drop the old one.

Fixes: dca15b4990d701bf ("sh: fault: modernize printing of kernel messages")
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Rich Felker <dalias@libc.org>
arch/sh/mm/fault.c