[PATCH] staging: wilc1000: use kmemdup to replace kmalloc/memcpy

Greg Kroah-Hartman gregkh at linuxfoundation.org
Wed Mar 14 11:38:18 UTC 2018


On Tue, Mar 13, 2018 at 06:19:32PM +0530, hariprasath.elango at gmail.com wrote:
> From: HariPrasath Elango <hariprasath.elango at gmail.com>
> 
> kmalloc followed by memcpy can be replaced by kmemdup.Also added the
> related error handling part
> 
> Signed-off-by: HariPrasath Elango <hariprasath.elango at gmail.com>
> ---
>  drivers/staging/wilc1000/host_interface.c | 10 +++++++---
>  1 file changed, 7 insertions(+), 3 deletions(-)

You have sent at least 8 patches for this driver over the past day, yet
I have no idea what order to apply these in at all.

Please resend them all as a proper patch series, numbered so I have a
clue as to what order to apply them in.  Also preserve the acks/reviews
that others have provided so they don't have to provide that again.

thanks,

greg k-h


More information about the devel mailing list