Re: [PATCH v1 06/11] powerpc/code-patching: Fix patch_branch() return on out-of-range failure

2021-12-22 Thread Christophe Leroy
Le 02/12/2021 à 13:00, Christophe Leroy a écrit : > Do not silentely ignore a failure of create_branch() in > patch_branch(). Return -ERANGE. > > Signed-off-by: Christophe Leroy From

[PATCH v1 06/11] powerpc/code-patching: Fix patch_branch() return on out-of-range failure

2021-12-02 Thread Christophe Leroy
Do not silentely ignore a failure of create_branch() in patch_branch(). Return -ERANGE. Signed-off-by: Christophe Leroy --- arch/powerpc/lib/code-patching.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/arch/powerpc/lib/code-patching.c b/arch/powerpc/lib/code-patching.c