lkml.org 
[lkml]   [2021]   [Mar]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe:Re: [PATCH] arc: kernel: Return -EFAULT if copy to user() fails
From
Date
Subject: Re: [PATCH] arc: kernel: Return -EFAULT if copy_to_user() fails>On 3/1/21 4:05 AM, Wang Qing wrote:

>> 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>
>
>Acked-by: Vineet Gupta <vgupta@synopsys.com>
>
>Do you want me to pick this up via ARC tree ?

Yes, thank you for picking this up.

Wangqing

>
>Thx,
>-Vineet


\
 
 \ /
  Last update: 2021-03-10 03:52    [W:0.060 / U:1.140 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site