linux_dsm_epyc7002/arch/powerpc/platforms/ps3
Masakazu Mokuno d4ad304841 powerpc/ps3: Fix memory leak in device init
Free dynamically allocated device data structures when device registration
fails.  This fixes memory leakage when the registration fails.

Signed-off-by: Masakazu Mokuno <mokuno@sm.sony.co.jp>
Signed-off-by: Geoff Levand <geoffrey.levand@am.sony.com>
Signed-off-by: Paul Mackerras <paulus@samba.org>
2008-11-06 09:49:35 +11:00
..
device-init.c powerpc/ps3: Fix memory leak in device init 2008-11-06 09:49:35 +11:00
exports.c [POWERPC] ps3: add lv1 hvcalls 2006-12-04 20:40:44 +11:00
htab.c powerpc/ps3: Rework htab code to remove ioremap 2008-08-26 10:24:46 +10:00
hvcall.S [POWERPC] ps3: add lv1 hvcalls 2006-12-04 20:40:44 +11:00
interrupt.c [POWERPC] PS3: Make ps3_virq_setup and ps3_virq_destroy static 2008-05-02 15:00:44 +10:00
Kconfig powerpc: pci config cleanup 2008-07-16 17:57:34 -05:00
Makefile [POWERPC] PS3: Device registration routines. 2007-06-28 19:16:43 +10:00
mm.c [POWERPC] PS3: Fix memory hotplug 2008-05-23 16:15:29 +10:00
os-area.c [POWERPC] Add include of linux/of.h to os-area.c 2008-04-24 20:57:33 +10:00
platform.h [POWERPC] PS3: Add logical performance monitor repository routines 2008-01-25 22:52:52 +11:00
repository.c [POWERPC] PS3: Add logical performance monitor repository routines 2008-01-25 22:52:52 +11:00
setup.c powerpc/ps3: Rework htab code to remove ioremap 2008-08-26 10:24:46 +10:00
smp.c powerpc: convert to generic helpers for IPI function calls 2008-06-26 11:22:13 +02:00
spu.c powerpc/ps3: Fix ioremap of spu shadow regs 2008-08-26 10:24:46 +10:00
system-bus.c powerpc: Update remaining dma_mapping_ops to use map/unmap_page 2008-10-31 16:13:48 +11:00
time.c [POWERPC] PS3: Add os-area rtc_diff set/get routines 2007-10-09 21:01:58 +10:00