diff options
author | Christophe Leroy <christophe.leroy@csgroup.eu> | 2023-07-11 17:59:20 +0200 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2023-08-02 22:22:18 +1000 |
commit | eb52f66f0abd468caf8be4e690d7fdef96250c2f (patch) | |
tree | 9c738e16b528789eda607a587700c9c126610a9d /arch/powerpc/crypto | |
parent | 5222a1d5142ec4f9ec063b274b80e20639584dbc (diff) | |
download | linux-stable-eb52f66f0abd468caf8be4e690d7fdef96250c2f.tar.gz linux-stable-eb52f66f0abd468caf8be4e690d7fdef96250c2f.tar.bz2 linux-stable-eb52f66f0abd468caf8be4e690d7fdef96250c2f.zip |
powerpc/kuap: KUAP enabling/disabling functions must be __always_inline
Objtool reports following warnings:
arch/powerpc/kernel/signal_32.o: warning: objtool:
__prevent_user_access.constprop.0+0x4 (.text+0x4):
redundant UACCESS disable
arch/powerpc/kernel/signal_32.o: warning: objtool: user_access_begin+0x2c
(.text+0x4c): return with UACCESS enabled
arch/powerpc/kernel/signal_32.o: warning: objtool: handle_rt_signal32+0x188
(.text+0x360): call to __prevent_user_access.constprop.0() with UACCESS enabled
arch/powerpc/kernel/signal_32.o: warning: objtool: handle_signal32+0x150
(.text+0x4d4): call to __prevent_user_access.constprop.0() with UACCESS enabled
This is due to some KUAP enabling/disabling functions being outline
allthough they are marked inline. Use __always_inline instead.
Signed-off-by: Christophe Leroy <christophe.leroy@csgroup.eu>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://msgid.link/ca5e50ddbec3867db5146ebddbc9a1dc0e443bc8.1689091022.git.christophe.leroy@csgroup.eu
Diffstat (limited to 'arch/powerpc/crypto')
0 files changed, 0 insertions, 0 deletions