[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <AKkASQCiDrZv96H5wXrN24o0.3.1615344116454.Hmail.wangqing@vivo.com>
Date: Wed, 10 Mar 2021 10:41:56 +0800 (GMT+08:00)
From: 王擎 <wangqing@...o.com>
To: Vineet Gupta <vgupta@...opsys.com>
Cc: linux-kernel@...r.kernel.org
Subject: Re:Re: [PATCH] arc: kernel: Return -EFAULT if copy_to_user() fails
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@...o.com>
>
>Acked-by: Vineet Gupta <vgupta@...opsys.com>
>
>Do you want me to pick this up via ARC tree ?
Yes, thank you for picking this up.
Wangqing
>
>Thx,
>-Vineet
Powered by blists - more mailing lists