linux_dsm_epyc7002/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 Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
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_ops.c parport: fix ieee1284_epp_read_addr 2008-02-08 09:22:36 -08:00
ieee1284.c Fix common misspellings 2011-03-31 11:26:23 -03:00
Kconfig parport: disable PC-style parallel port support for s390 2013-02-14 15:55:14 +01:00
Makefile [PATCH] AX88796 parallel port driver 2006-06-25 10:01:09 -07:00
multiface.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
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 remove the bouncing email address of David Campbell 2006-06-26 18:19:23 +02:00
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 Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00