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)
commit072c4c018e547b4bd6cfa4086aae881140b62759
tree4113ca3aee85e38657374cf719803d1dcafad740
parentd84e0d69c26b4d739214974d6ad6baf23f510580
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