Re: [PATCH] net: usb: ch9200: use kmemdup

From: David Miller
Date: Fri May 20 2016 - 19:51:04 EST


From: Muhammad Falak R Wani <falakreyaz@xxxxxxxxx>
Date: Thu, 19 May 2016 19:26:50 +0530

> Use kmemdup when some other buffer is immediately copied into allocated
> region. It replaces call to allocation followed by memcpy, by a single
> call to kmemdup.
>
> Signed-off-by: Muhammad Falak R Wani <falakreyaz@xxxxxxxxx>

Applied.