original_kernel/arch/avr32
Hans-Christian Egtvedt cbf8de1620 avr32: clean up memory allocation in at32_add_device_mci
This patch will check if the kzalloc for the MCI DMA struct actually
returns a valid address, and also clean up properly if it fails or the
function fails at a later stage.

This also silences a compiler warning about using the slave variable
uninitialized.

Signed-off-by: Hans-Christian Egtvedt <hans-christian.egtvedt@atmel.com>
Signed-off-by: Haavard Skinnemoen <haavard.skinnemoen@atmel.com>
2009-12-28 12:33:00 +01:00
..
boards
boot
configs
include/asm
kernel
lib
mach-at32ap avr32: clean up memory allocation in at32_add_device_mci 2009-12-28 12:33:00 +01:00
mm
oprofile
Kconfig
Kconfig.debug
Makefile