diff options
author | Mark Rutland <mark.rutland@arm.com> | 2014-11-25 08:27:42 -0500 |
---|---|---|
committer | Will Deacon <will.deacon@arm.com> | 2014-11-25 10:56:43 -0500 |
commit | efdf4211d5b103535ae22972acadf57c9fc38b30 (patch) | |
tree | 18a6dfbfac09fd8d7b55a9d77cd3971b69dfe906 /arch/arm64/kernel/cpuinfo.c | |
parent | 9760270c36a4d2ac640ea6294f4f8634a8b27121 (diff) |
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 <mark.rutland@arm.com>
Cc: Catalin Marinas <catalin.marinas@arm.com>
Acked-by: Will Deacon <will.deacon@arm.com>
Signed-off-by: Will Deacon <will.deacon@arm.com>
Diffstat (limited to 'arch/arm64/kernel/cpuinfo.c')
-rw-r--r-- | arch/arm64/kernel/cpuinfo.c | 2 |
1 files changed, 1 insertions, 1 deletions
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) | |||
161 | * pretend to support them. | 161 | * pretend to support them. |
162 | */ | 162 | */ |
163 | WARN_TAINT_ONCE(diff, TAINT_CPU_OUT_OF_SPEC, | 163 | WARN_TAINT_ONCE(diff, TAINT_CPU_OUT_OF_SPEC, |
164 | "Unsupported CPU feature variation."); | 164 | "Unsupported CPU feature variation.\n"); |
165 | } | 165 | } |
166 | 166 | ||
167 | static void __cpuinfo_store_cpu(struct cpuinfo_arm64 *info) | 167 | static void __cpuinfo_store_cpu(struct cpuinfo_arm64 *info) |