linux-stable/drivers/parport
Silviu-Mihai Popescu 2451a84839 parport: use kmemdup instead of kmalloc + memcpy
This replaces calls to kmalloc followed by memcpy with a single call to
kmemdup. This was found via make coccicheck.

Signed-off-by: Silviu-Mihai Popescu <silviupopescu1990@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2013-03-25 10:42:06 -07:00
..
BUGS-parport
daisy.c include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h 2010-03-30 22:02:32 +09:00
ieee1284.c Fix common misspellings 2011-03-31 11:26:23 -03:00
ieee1284_ops.c
Kconfig parport: disable PC-style parallel port support for s390 2013-02-14 15:55:14 +01:00
Makefile
multiface.h
parport_amiga.c parport: amiga: use module_platform_driver_probe() 2013-03-25 10:42:06 -07:00
parport_atari.c parport: remove unused dead code from lowlevel drivers 2012-04-20 09:48:27 -07:00
parport_ax88796.c parport: convert drivers/parport/* to use module_platform_driver() 2011-11-30 20:11:46 +09:00
parport_cs.c drivers/parport: use module_pcmcia_driver() in pcmcia drivers 2013-03-15 12:26:38 -07:00
parport_gsc.c parport: use kmemdup instead of kmalloc + memcpy 2013-03-25 10:42:06 -07:00
parport_gsc.h
parport_ip32.c module_param: make bool parameters really bool (drivers & misc) 2012-01-13 09:32:20 +10:30
parport_mfc3.c parport: remove unused dead code from lowlevel drivers 2012-04-20 09:48:27 -07:00
parport_pc.c Drivers: parport: remove __dev* attributes. 2013-01-03 15:57:03 -08:00
parport_serial.c serial/8250: Add suport for later SUNIX (TIMEDIA) boards. 2013-01-30 00:08:22 -05:00
parport_sunbpp.c parport: use kmemdup instead of kmalloc + memcpy 2013-03-25 10:42:06 -07:00
probe.c include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h 2010-03-30 22:02:32 +09:00
procfs.c parport: use kmemdup instead of kmalloc + memcpy 2013-03-25 10:42:06 -07:00
share.c parport: make lockdep happy with waitlist_lock 2011-01-26 10:49:59 +10:00
TODO-parport