linux/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
Kconfig
Makefile
TODO-parport
daisy.c
ieee1284.c
ieee1284_ops.c
multiface.h
parport_amiga.c parport: amiga: use module_platform_driver_probe() 2013-03-25 10:42:06 -07:00
parport_atari.c
parport_ax88796.c
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
parport_mfc3.c
parport_pc.c
parport_serial.c
parport_sunbpp.c parport: use kmemdup instead of kmalloc + memcpy 2013-03-25 10:42:06 -07:00
probe.c
procfs.c parport: use kmemdup instead of kmalloc + memcpy 2013-03-25 10:42:06 -07:00
share.c