diff options
| author | Christophe Leroy <[email protected]> | 2021-12-02 12:00:19 +0000 |
|---|---|---|
| committer | Michael Ellerman <[email protected]> | 2021-12-23 11:35:24 +0000 |
| commit | 285672f99327d5b8febdf83cadba61a68abe5d69 (patch) | |
| tree | c2f0fa207e260b5847b1243da9ac303d9dcdef26 /arch/powerpc/lib/test-code-patching.c | |
| parent | powerpc/code-patching: Remove init_mem_is_free (diff) | |
| download | kernel-285672f99327d5b8febdf83cadba61a68abe5d69.tar.gz kernel-285672f99327d5b8febdf83cadba61a68abe5d69.zip | |
powerpc/code-patching: Fix error handling in do_patch_instruction()
Use real errors instead of using -1 as error, so that errors
returned by callees can be used towards callers.
Signed-off-by: Christophe Leroy <[email protected]>
Signed-off-by: Michael Ellerman <[email protected]>
Link: https://lore.kernel.org/r/85259d894069e47f915ea580b169e1adbeec7a61.1638446239.git.christophe.leroy@csgroup.eu
Diffstat (limited to 'arch/powerpc/lib/test-code-patching.c')
0 files changed, 0 insertions, 0 deletions
