]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc/modules: Improve restore_r2() error message
authorJosh Poimboeuf <jpoimboe@redhat.com>
Tue, 14 Nov 2017 09:29:10 +0000 (04:29 -0500)
committerMichael Ellerman <mpe@ellerman.id.au>
Mon, 11 Dec 2017 02:03:29 +0000 (13:03 +1100)
commitc01244edc56dd685f02feb2ef72b6d2e147087c6
tree86053dcffc70f964b193fcceddbea67e860bd3aa
parent255d9e157c0cf75b06800b7747ab39f925f052bd
powerpc/modules: Improve restore_r2() error message

Print the function address associated with the restore_r2() error to
make it easier to debug the problem.

Also clarify the wording a bit.

Before:

  module_64: patch_foo: Expect noop after relocate, got 3c820000

After:

  module_64: patch_foo: Expected nop after call, got 7c630034 at netdev_has_upper_dev+0x54/0xb0 [patch_foo]

Signed-off-by: Josh Poimboeuf <jpoimboe@redhat.com>
Signed-off-by: Kamalesh Babulal <kamalesh@linux.vnet.ibm.com>
[mpe: Change noop to nop, as that's the name of the instruction]
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/kernel/module_64.c