]> 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)
commitfa918e20ef1e2593d9141b4536ae254605841222
tree4113ca3aee85e38657374cf719803d1dcafad740
parentc502f6a64adc6c71f12a3afac8ac0a75848b956d
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