Re: [PATCH] staging: wilc1000: replace kmalloc + memcpy with kmemdup
From: Greg Kroah-Hartman
Date: Wed Mar 28 2018 - 07:40:03 EST
On Mon, Mar 26, 2018 at 06:16:29PM +0100, Colin King wrote:
> From: Colin Ian King <colin.king@xxxxxxxxxxxxx>
>
> Replace several allocation and memcpys with kmemdup and add in some
> missing memory allocation failure checks. Also fix an incorrect
> -EFAULT return with -ENOMEM.
>
> Signed-off-by: Colin Ian King <colin.king@xxxxxxxxxxxxx>
> ---
> drivers/staging/wilc1000/host_interface.c | 75 +++++++++++++++++++------------
> 1 file changed, 46 insertions(+), 29 deletions(-)
Doesn't apply to my tree anymore, due to patches submitted before yours
:(
greg k-h