Re: [PATCH v2] powerpc/ptrace: Split gpr32_set_common

2023-08-23 Thread Michael Ellerman
On Thu, 22 Jun 2023 12:01:23 +0200, Christophe Leroy wrote: > objtool report the following warning: > > arch/powerpc/kernel/ptrace/ptrace-view.o: warning: objtool: > gpr32_set_common+0x23c (.text+0x860): redundant UACCESS disable > > gpr32_set_common() conditionnaly opens and closes UACCESS

Re: [PATCH v2] powerpc/ptrace: Split gpr32_set_common

2023-08-15 Thread Michael Ellerman
Christophe Leroy writes: > objtool report the following warning: > > arch/powerpc/kernel/ptrace/ptrace-view.o: warning: objtool: > gpr32_set_common+0x23c (.text+0x860): redundant UACCESS disable > > gpr32_set_common() conditionnaly opens and closes UACCESS based on > whether kbuf point is NU

[PATCH v2] powerpc/ptrace: Split gpr32_set_common

2023-06-22 Thread Christophe Leroy
objtool report the following warning: arch/powerpc/kernel/ptrace/ptrace-view.o: warning: objtool: gpr32_set_common+0x23c (.text+0x860): redundant UACCESS disable gpr32_set_common() conditionnaly opens and closes UACCESS based on whether kbuf point is NULL or not. This is wackelig. Split gp