summaryrefslogtreecommitdiff
path: root/arch/powerpc/sysdev/fsl_pci.c
diff options
context:
space:
mode:
authorChristophe Leroy <christophe.leroy@csgroup.eu>2023-06-22 12:01:23 +0200
committerMichael Ellerman <mpe@ellerman.id.au>2023-08-16 23:54:50 +1000
commit9a32584bc108c8fe4d02fa33b16caf686e4a788a (patch)
treeb25d4a65b8d02ea9a3db52f1991acafb5c0f2e57 /arch/powerpc/sysdev/fsl_pci.c
parent0e216fa576e1cdea3913fe82b7283fdfb58c5c07 (diff)
powerpc/ptrace: Split gpr32_set_common
objtool reports the following warning: arch/powerpc/kernel/ptrace/ptrace-view.o: warning: objtool: gpr32_set_common+0x23c (.text+0x860): redundant UACCESS disable gpr32_set_common() conditionally opens and closes UACCESS based on whether kbuf pointer is NULL or not. This is wackelig. Split gpr32_set_common() in two fonctions, one for user one for kernel. Signed-off-by: Christophe Leroy <christophe.leroy@csgroup.eu> [mpe: Fix oops in gpr32_set_common_user() due to NULL kbuf] Signed-off-by: Michael Ellerman <mpe@ellerman.id.au> Link: https://msgid.link/b8d6ae4483fcfd17524e79d803c969694a85cc02.1687428075.git.christophe.leroy@csgroup.eu
Diffstat (limited to 'arch/powerpc/sysdev/fsl_pci.c')
0 files changed, 0 insertions, 0 deletions