Re: [PATCH] riscv; fix __user annotation in save_v_state()

From: patchwork-bot+linux-riscv
Date: Thu Jan 11 2024 - 09:52:50 EST


Hello:

This patch was applied to riscv/linux.git (for-next)
by Palmer Dabbelt <palmer@xxxxxxxxxxxx>:

On Thu, 23 Nov 2023 14:27:08 +0000 you wrote:
> The save_v_state() is technically sending a __user pointer through
> __put_user() and thus is generating a sparse warning so force the
> value to be "void *" to fix:
>
> arch/riscv/kernel/signal.c:94:16: warning: incorrect type in initializer (different address spaces)
> arch/riscv/kernel/signal.c:94:16: expected void *__val
> arch/riscv/kernel/signal.c:94:16: got void [noderef] __user *[assigned] datap
> Fixes: 8ee0b41898fa26f66e32 ("riscv: signal: Add sigcontext save/restore for vector")
> Signed-off-by: Ben Dooks <ben.dooks@xxxxxxxxxxxxxxx>
>
> [...]

Here is the summary with links:
- riscv; fix __user annotation in save_v_state()
https://git.kernel.org/riscv/c/869436dae72a

You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html