Re: [PATCH] staging: wilc1000: use kmemdup instead of kmalloc and memcpy

From: Ajay Singh
Date: Tue Mar 13 2018 - 03:43:16 EST


On Tue, 13 Mar 2018 11:50:48 +0530
<hariprasath.elango@xxxxxxxxx> wrote:

> From: HariPrasath Elango <hariprasath.elango@xxxxxxxxx>
>
> Kmalloc followed by memcpy can be replaced by kmemdup.
>
> Signed-off-by: HariPrasath Elango <hariprasath.elango@xxxxxxxxx>

Reviewed-by: Ajay Singh <ajay.kathat@xxxxxxxxxxxxx>


Regards,
Ajay