]> git.proxmox.com Git - mirror_ubuntu-bionic-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)
committerSeth Forshee <seth.forshee@canonical.com>
Tue, 27 Feb 2018 15:31:31 +0000 (09:31 -0600)
commitb7431cee8008ef6eb100a010bbad2da5faaeadb0
tree15686561c19e4589cf5d028455e5ba96cd6cf5ae
parent56576a40a2bba7678165332cf3ed100317cff4d4
powerpc/modules: Improve restore_r2() error message

BugLink: http://bugs.launchpad.net/bugs/1741992
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>
(cherry picked from commit 1ea61ea23985c0f15c027e4c0ac02224efdfb243)
Signed-off-by: Seth Forshee <seth.forshee@canonical.com>
arch/powerpc/kernel/module_64.c