# Re: \[PATCH v2\] powerpc/ptrace: Split gpr32\_set\_common

- From: Michael Ellerman \<hidden\>
- Date: 2023-08-23 12:04:37 
- List: linuxppc-dev
- Page: https://ratatoskr.run/linuxppc-dev/2023/08/2312490
- Thread: https://ratatoskr.run/linuxppc-dev/2023/06/2242671/t.md

```text
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
```
