Messages in this thread | | | Date | Wed, 28 Mar 2018 13:39:51 +0200 | From | Greg Kroah-Hartman <> | Subject | Re: [PATCH] staging: wilc1000: replace kmalloc + memcpy with kmemdup |
| |
On Mon, Mar 26, 2018 at 06:16:29PM +0100, Colin King wrote: > From: Colin Ian King <colin.king@canonical.com> > > 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@canonical.com> > --- > 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
| |