[PATCH v2] powerpc/ptrace: Split gpr32_set_common
Michael Ellerman
patch-notifications at ellerman.id.au
Wed Aug 23 21:55:55 AEST 2023
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 based on
> whether kbuf point is NULL or not. This is wackelig.
>
> [...]
Applied to powerpc/next.
[1/1] powerpc/ptrace: Split gpr32_set_common
https://git.kernel.org/powerpc/c/9a32584bc108c8fe4d02fa33b16caf686e4a788a
cheers
More information about the Linuxppc-dev
mailing list