aboutsummaryrefslogtreecommitdiffstats
path: root/arch/powerpc/lib/code-patching.c
diff options
context:
space:
mode:
authorChristophe Leroy <[email protected]>2021-05-20 13:50:38 +0000
committerMichael Ellerman <[email protected]>2021-06-15 14:16:49 +0000
commitb3a9e523237013477bea914b7fbfbe420428b988 (patch)
treecffeb90d5a4e039a19102489f9ac5012483db455 /arch/powerpc/lib/code-patching.c
parentpowerpc: Replace PPC_INST_NOP by PPC_RAW_NOP() (diff)
downloadkernel-b3a9e523237013477bea914b7fbfbe420428b988.tar.gz
kernel-b3a9e523237013477bea914b7fbfbe420428b988.zip
powerpc/inst: Fix sparse detection on get_user_instr()
get_user_instr() lacks sparse detection for the __user tag. This is because __gui_ptr is assigned with a cast. Fix that by adding a __chk_user_ptr() Signed-off-by: Christophe Leroy <[email protected]> Signed-off-by: Michael Ellerman <[email protected]> Link: https://lore.kernel.org/r/0320e5b41a794fd456ab8c5993bbfadcf9e1d8b4.1621516826.git.christophe.leroy@csgroup.eu
Diffstat (limited to 'arch/powerpc/lib/code-patching.c')
0 files changed, 0 insertions, 0 deletions