powerpc: Use pr_fmt in module loader code
authorAnton Blanchard <anton@samba.org>
Wed, 17 Sep 2014 04:39:35 +0000 (14:39 +1000)
committerMichael Ellerman <mpe@ellerman.id.au>
Thu, 2 Oct 2014 07:33:54 +0000 (17:33 +1000)
commitc7d1f6afe062d2dc4bb8109856519570f2fe3c13
tree3111cac07f96f632bd95dd730b18f23f65e78d73
parent9d57472f61acd7c3a33ebf5a79361e316d8ffbef
powerpc: Use pr_fmt in module loader code

Use pr_fmt to give some context to the error messages in the
module code, and convert open coded debug printk to pr_debug.

Use pr_err for error messages.

Signed-off-by: Anton Blanchard <anton@samba.org>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/kernel/module_32.c
arch/powerpc/kernel/module_64.c