Christophe Leroy 285672f993 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 <christophe.leroy@csgroup.eu>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/85259d894069e47f915ea580b169e1adbeec7a61.1638446239.git.christophe.leroy@csgroup.eu
2021-12-23 22:35:24 +11:00
..
2019-07-13 16:08:36 -07:00
2018-06-04 00:39:21 +10:00
2021-01-30 11:39:28 +11:00
2018-06-12 16:19:22 -07:00
2021-12-09 22:41:21 +11:00