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

From: Michael Ellerman
Date: Wed Aug 23 2023 - 08:04:36 EST


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