android_kernel_motorola_sm6375/arch/arc
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Wang Qing 47d04c0399 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 <[email protected]>
Signed-off-by: Vineet Gupta <[email protected]>
Signed-off-by: Sasha Levin <[email protected]>
2021-04-21 12:56:13 +02:00
..
boot ARC: build: move symlink creation to arch/arc/Makefile to avoid race 2021-01-19 18:26:14 +01:00
configs ARC: [plat-hsdk]: Enable on-boardi SPI ADC IC 2019-10-22 09:58:29 -07:00
include arch/arc: add copy_user_page() to <asm/page.h> to fix build error on ARC 2021-01-19 18:26:15 +01:00
kernel arc: kernel: Return -EFAULT if copy_to_user() fails 2021-04-21 12:56:13 +02:00
lib
mm
oprofile
plat-axs10x
plat-eznps irqchip/eznps: Fix build error for !ARC700 builds 2020-09-17 13:47:47 +02:00
plat-hsdk arc: plat-hsdk: fix kconfig dependency warning when !RESET_CONTROLLER 2020-10-29 09:57:47 +01:00
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:26:14 +01:00