aboutsummaryrefslogtreecommitdiffstats
path: root/arch/powerpc/lib/test-code-patching.c
diff options
context:
space:
mode:
authorChristophe Leroy <[email protected]>2021-12-02 12:00:22 +0000
committerMichael Ellerman <[email protected]>2021-12-23 11:35:24 +0000
commitd5937db114e4b6446c62809484729955f1aeb108 (patch)
tree705f3864eb8dc1d85e9a464eee8ef6492dcd4fe1 /arch/powerpc/lib/test-code-patching.c
parentpowerpc/code-patching: Reorganise do_patch_instruction() to ease error handling (diff)
downloadkernel-d5937db114e4b6446c62809484729955f1aeb108.tar.gz
kernel-d5937db114e4b6446c62809484729955f1aeb108.zip
powerpc/code-patching: Fix patch_branch() return on out-of-range failure
Do not silentely ignore a failure of create_branch() in patch_branch(). Return -ERANGE. Signed-off-by: Christophe Leroy <[email protected]> Signed-off-by: Michael Ellerman <[email protected]> Link: https://lore.kernel.org/r/8540cb64b1f06710eaf41e3835c7ba3e21fa2b05.1638446239.git.christophe.leroy@csgroup.eu
Diffstat (limited to 'arch/powerpc/lib/test-code-patching.c')
0 files changed, 0 insertions, 0 deletions