Hello:
This patch was applied to riscv/linux.git (fixes)
by Peter Zijlstra <[email protected]>:
On Wed, 29 Oct 2025 10:40:52 +0100 you wrote:
> ASM GOTO is miscompiled by GCC when it is used inside a auto cleanup scope:
>
> bool foo(u32 __user *p, u32 val)
> {
> scoped_guard(pagefault)
> unsafe_put_user(val, p, efault);
> return true;
> efault:
> return false;
> }
>
> [...]
Here is the summary with links:
- [V6,02/12] uaccess: Provide ASM GOTO safe wrappers for unsafe_*_user()
https://git.kernel.org/riscv/c/3eb6660f26d1
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html