sh: fault: Fix duplicate printing of "PC:"
authorGeert Uytterhoeven <geert+renesas@glider.be>
Wed, 17 Jun 2020 14:36:31 +0000 (16:36 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 21 Aug 2020 11:15:20 +0000 (13:15 +0200)
commit77fac4e901a193244b25f75bad443af282868818
treea26168c73c446b9692ac1607c03685dbbd7bbf68
parent97086157b4e208f95cecf6341ae6716d9d86f8d9
sh: fault: Fix duplicate printing of "PC:"

[ Upstream commit 845d9156febcd6b3b20c0c2c8d73b461b48e844c ]

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: eaabf98b0932a540 ("sh: fault: modernize printing of kernel messages")
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Rich Felker <dalias@libc.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
arch/sh/mm/fault.c