WSL2-Linux-Kernel/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 parport: disable PC-style parallel port support for s390 2013-02-14 15:55:14 +01:00
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: remove unused dead code from lowlevel drivers 2012-04-20 09:48:27 -07:00
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: 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
procfs.c parport: use kmemdup instead of kmalloc + memcpy 2013-03-25 10:42:06 -07:00
share.c