[PATCH v4 3/3] powerpc/modules: Improve restore_r2() error message

Michael Ellerman mpe at ellerman.id.au
Wed Dec 6 15:32:01 AEDT 2017


Kamalesh Babulal <kamalesh at linux.vnet.ibm.com> writes:

> From: Josh Poimboeuf <jpoimboe at redhat.com>
>
> 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 noop after call, got 7c630034 at netdev_has_upper_dev+0x54/0xb0 [patch_foo]

I renamed noop to nop, as that's the name of the instruction.

cheers


More information about the Linuxppc-dev mailing list