Re: [PATCH] drivers: parport: Use kmemdup

2013-05-16 Thread Greg Kroah-Hartman
On Sun, Apr 28, 2013 at 07:54:38PM +0300, Alexandru Gheorghiu wrote: > Used kmemdup instead of kmalloc and memcpy. > Patch found using coccinelle. > > Signed-off-by: Alexandru Gheorghiu > --- > drivers/parport/parport_gsc.c |4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) This pat

[PATCH] drivers: parport: Use kmemdup

2013-05-03 Thread Alexandru Gheorghiu
Used kmemdup instead of kmalloc and memcpy. Patch found using coccinelle. Signed-off-by: Alexandru Gheorghiu --- drivers/parport/parport_gsc.c |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/parport/parport_gsc.c b/drivers/parport/parport_gsc.c index 050773c..4