]> git.baikalelectronics.ru Git - kernel.git/commit
arm: perf: add missing pr_info newlines
authorMark Rutland <mark.rutland@arm.com>
Thu, 23 Oct 2014 14:59:35 +0000 (15:59 +0100)
committerWill Deacon <will.deacon@arm.com>
Thu, 30 Oct 2014 12:16:59 +0000 (12:16 +0000)
commitd5264f636692ae33f2741ca5dc0c9714175eedf6
treeb9459088bf4feb69e77b54ab86f591572aa679e6
parenta121a00bdcad490ca15af21ee322bf3a0ae0cfce
arm: perf: add missing pr_info newlines

Most of the pr_info format strings in perf_event_cpu.c are missing
newlines. Currently we get away with this as the format strings for
subsequent calls to printk (including all pr_* calls) begin with a log
prefix, and the printk core adds the omitted newline for this case.
While generates the output we expect, we probably should not rely on the
format of successive printk calls in order to get legible output.

This patch adds the missing newlines to pr_info format strings in
perf_event_cpu.c, making them consistent with the format strings for
other pr_info, warn, and pr_err calls, and preventing potentially
illegible output if the next printk/pr_* format string doesn't begin
with a log prefix.

Signed-off-by: Mark Rutland <mark.rutland@arm.com>
Reviewed-by: Stephen Boyd <sboyd@codeaurora.org>
Signed-off-by: Will Deacon <will.deacon@arm.com>
arch/arm/kernel/perf_event_cpu.c