summaryrefslogtreecommitdiff
path: root/arch/xtensa/kernel/init_task.c
diff options
context:
space:
mode:
authorHans-Christian Egtvedt <hans-christian.egtvedt@atmel.com>2009-12-28 14:22:06 +0300
committerHaavard Skinnemoen <haavard.skinnemoen@atmel.com>2009-12-28 14:33:00 +0300
commitcbf8de1620cdb1abb5b0618ff561004f816064fc (patch)
tree827fcc026734b805b546f02016e47089acbeb960 /arch/xtensa/kernel/init_task.c
parent754a00aeb26bcc8bf82897538a078bc84a6d95c7 (diff)
downloadlinux-cbf8de1620cdb1abb5b0618ff561004f816064fc.tar.xz
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>
Diffstat (limited to 'arch/xtensa/kernel/init_task.c')
0 files changed, 0 insertions, 0 deletions