Re: [PATCH -fixes v2] riscv: uaccess: Return the number of bytes effectively not copied

From: patchwork-bot+linux-riscv
Date: Thu Aug 17 2023 - 11:21:16 EST


Hello:

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

On Fri, 11 Aug 2023 17:06:04 +0200 you wrote:
> It was reported that the riscv kernel hangs while executing the test
> in [1].
>
> Indeed, the test hangs when trying to write a buffer to a file. The
> problem is that the riscv implementation of raw_copy_from_user() does not
> return the correct number of bytes not written when an exception happens
> and is fixed up, instead it always returns the initial size to copy,
> even if some bytes were actually copied.
>
> [...]

Here is the summary with links:
- [-fixes,v2] riscv: uaccess: Return the number of bytes effectively not copied
https://git.kernel.org/riscv/c/4b05b993900d

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