From: Mark Rutland Date: Tue, 25 Nov 2014 13:27:42 +0000 (+0000) Subject: arm64: sanity checks: add missing newline to print X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=efdf4211d5b103535ae22972acadf57c9fc38b30;p=openwrt%2Fstaging%2Fblogic.git arm64: sanity checks: add missing newline to print A missing newline in the WARN_TAINT_ONCE string results in ugly and somewhat difficult to read output in the case of a sanity check failure, as the next print does not appear on a new line: Unsupported CPU feature variation.Modules linked in: This patch adds the missing newline, fixing the output formatting. Signed-off-by: Mark Rutland Cc: Catalin Marinas Acked-by: Will Deacon Signed-off-by: Will Deacon --- diff --git a/arch/arm64/kernel/cpuinfo.c b/arch/arm64/kernel/cpuinfo.c index 01994d4ce0c2..9da33f96b678 100644 --- a/arch/arm64/kernel/cpuinfo.c +++ b/arch/arm64/kernel/cpuinfo.c @@ -161,7 +161,7 @@ static void cpuinfo_sanity_check(struct cpuinfo_arm64 *cur) * pretend to support them. */ WARN_TAINT_ONCE(diff, TAINT_CPU_OUT_OF_SPEC, - "Unsupported CPU feature variation."); + "Unsupported CPU feature variation.\n"); } static void __cpuinfo_store_cpu(struct cpuinfo_arm64 *info)