]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc/ftrace: Use pr_fmt() to namespace error messages
authorMichael Ellerman <mpe@ellerman.id.au>
Tue, 17 Jun 2014 06:15:36 +0000 (16:15 +1000)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Tue, 24 Jun 2014 04:05:50 +0000 (14:05 +1000)
commit647931abeeb69081ec182eb870201926b9cf63ee
tree4113ca3aee85e38657374cf719803d1dcafad740
parent94437bd0ab206aca762bfbf96780731f13d1c228
powerpc/ftrace: Use pr_fmt() to namespace error messages

The printks() in our ftrace code have no prefix, so they appear on the
console with very little context, eg:

  Branch out of range

Use pr_fmt() & pr_err() to add a prefix. While we're at it, collapse a
few split lines that don't need to be, and add a missing newline to one
message.

Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
arch/powerpc/kernel/ftrace.c