From: Christophe Leroy Date: Tue, 18 Dec 2018 06:53:41 +0000 (+0000) Subject: powerpc/setup: display reason for not booting X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=e995265252fad3cf10cec6821ff0870cd95c4f08;p=openwrt%2Fstaging%2Fblogic.git powerpc/setup: display reason for not booting When no machine description matches, display it clearly before looping forever. Signed-off-by: Christophe Leroy Signed-off-by: Michael Ellerman --- diff --git a/arch/powerpc/kernel/setup-common.c b/arch/powerpc/kernel/setup-common.c index fa606aa98f6d..9a6a0859c1ef 100644 --- a/arch/powerpc/kernel/setup-common.c +++ b/arch/powerpc/kernel/setup-common.c @@ -634,7 +634,7 @@ void probe_machine(void) } /* What can we do if we didn't find ? */ if (machine_id >= &__machine_desc_end) { - DBG("No suitable machine found !\n"); + pr_err("No suitable machine description found !\n"); for (;;); }