linux_dsm_epyc7002/arch/arc
Wang Qing b448a6a2fc arc: kernel: Return -EFAULT if copy_to_user() fails
[ Upstream commit 46e152186cd89d940b26726fff11eb3f4935b45a ]

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>
2021-04-21 13:00:51 +02:00
..
boot ARC: build: move symlink creation to arch/arc/Makefile to avoid race 2021-01-19 18:27:23 +01:00
configs
include arch/arc: add copy_user_page() to <asm/page.h> to fix build error on ARC 2021-01-19 18:27:26 +01:00
kernel arc: kernel: Return -EFAULT if copy_to_user() fails 2021-04-21 13:00:51 +02:00
lib
mm
oprofile
plat-axs10x
plat-hsdk
plat-sim
plat-tb10x
Kbuild
Kconfig
Kconfig.debug
Makefile ARC: build: move symlink creation to arch/arc/Makefile to avoid race 2021-01-19 18:27:23 +01:00