Re: [PATCH] staging: r8188eu: Use memdup_user instead of kmalloc/copy_from_user

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxx>
> ---
>  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@xxxxxxxx





[Index of Archives]     [Linux Driver Development]     [Linux Driver Backports]     [DMA Engine]     [Linux GPIO]     [Linux SPI]     [Video for Linux]     [Linux USB Devel]     [Linux Coverity]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]
  Powered by Linux