Files
linux/arch/arc/kernel
Wang Qing b17f941416 arc: kernel: Return -EFAULT if copy_to_user() fails
[ Upstream commit 46e152186c ]

The copy_to_user() function returns the number of bytes remaining to be
copied, but we want to return -EFAULT if the copy doesn't complete.

Signed-off-by: Wang Qing <wangqing@vivo.com>
Signed-off-by: Vineet Gupta <vgupta@synopsys.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2023-05-16 10:52:39 +09:00
..
2013-08-26 09:40:24 +05:30
2016-08-19 14:09:33 -07:00
2016-04-22 18:12:31 +05:30
2016-03-10 14:44:13 -06:00
2023-05-15 14:31:22 +09:00