linux_dsm_epyc7002/drivers/parport
Sudip Mukherjee 68d35c7b3b parport: fix freeing freed memory
After the reference count becomes 0 when put_device() is called, it will
execute the release callback where we are freeing all the allocated
memory associated with the device. So if we just continue on the error
path then we are again freeing devname and trying to dereference par_dev
which has already been free-ed in the release callback.

Signed-off-by: Sudip Mukherjee <sudip@vectorindia.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2015-07-22 21:15:49 -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_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: fix menu breakage 2014-07-25 18:00:23 -07:00
Makefile [PATCH] AX88796 parallel port driver 2006-06-25 10:01:09 -07:00
multiface.h
parport_amiga.c parport: drop owner assignment from platform_drivers 2014-10-20 16:21:20 +02:00
parport_atari.c parport: parport_atari: Remove obsolete IRQ_TYPE_SLOW 2015-01-15 13:44:50 +01:00
parport_ax88796.c parport: drop owner assignment from platform_drivers 2014-10-20 16:21:20 +02:00
parport_cs.c drivers/parport: use module_pcmcia_driver() in pcmcia drivers 2013-03-15 12:26:38 -07:00
parport_gsc.c parisc: parport0: fix this legacy no-device port driver! 2013-06-01 14:46:42 +02:00
parport_gsc.h parisc: parport0: fix this legacy no-device port driver! 2013-06-01 14:46:42 +02:00
parport_ip32.c drivers/parport/parport_ip32.c: use PTR_ERR_OR_ZERO 2014-08-08 15:57:25 -07:00
parport_mfc3.c zorro: ZTWO_VADDR() should return "void __iomem *" 2013-11-26 11:09:07 +01:00
parport_pc.c parport: add device-model to parport subsystem 2015-06-01 07:08:18 +09:00
parport_serial.c parport: Add support for the WCH382 2S/1P multi-IO card 2014-11-06 14:58:21 -08:00
parport_sunbpp.c parport: drop owner assignment from platform_drivers 2014-10-20 16:21:20 +02: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: add device-model to parport subsystem 2015-06-01 07:08:18 +09:00
share.c parport: fix freeing freed memory 2015-07-22 21:15:49 -07:00
TODO-parport