Wang Qing 46e152186c arc: kernel: Return -EFAULT if copy_to_user() fails
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>
2021-03-22 10:05:43 -07:00
..
2020-01-17 16:53:44 -08:00
2020-07-27 14:31:09 -04:00
2020-01-15 16:08:12 -08:00