lkml.org 
[lkml]   [2021]   [Oct]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] staging: r8188eu: Use memdup_user instead of kmalloc/copy_from_user
On Fri, Oct 22, 2021 at 10:55:55AM +0800, Kai Song wrote:
> Use memdup_user helper instead of open-coding to simplify
> the code.
>
> Signed-off-by: Kai Song <songkai01@inspur.com>
> ---
> drivers/staging/r8188eu/os_dep/ioctl_linux.c | 10 +++-------
> 1 file changed, 3 insertions(+), 7 deletions(-)

Someone sent this just before you did, sorry:
https://lore.kernel.org/r/20211021122015.6974-1-wanjiabing@vivo.com

\
 
 \ /
  Last update: 2021-10-22 11:07    [W:0.056 / U:0.444 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site