[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <YXJ/PU/oo9dRwTQr@kroah.com>
Date: Fri, 22 Oct 2021 11:07:09 +0200
From: Greg KH <gregkh@...uxfoundation.org>
To: Kai Song <songkai01@...pur.com>
Cc: Larry.Finger@...inger.net, phil@...lpotter.co.uk,
straube.linux@...il.com, linux-staging@...ts.linux.dev,
linux-kernel@...r.kernel.org
Subject: Re: [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@...pur.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
Powered by blists - more mailing lists