Re: [PATCH v4 3/3] powerpc/modules: Improve restore_r2() error message
From: Michael Ellerman
Date: Tue Dec 05 2017 - 23:32:16 EST
Kamalesh Babulal <kamalesh@xxxxxxxxxxxxxxxxxx> writes:
> From: Josh Poimboeuf <jpoimboe@xxxxxxxxxx>
>
> 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