Messages in this thread | | | Date | Fri, 22 Oct 2021 11:07:09 +0200 | From | Greg KH <> | 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@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
| |