diff options
author | Hans-Christian Egtvedt <[email protected]> | 2009-12-28 12:22:06 +0100 |
---|---|---|
committer | Haavard Skinnemoen <[email protected]> | 2009-12-28 12:33:00 +0100 |
commit | cbf8de1620cdb1abb5b0618ff561004f816064fc (patch) | |
tree | 827fcc026734b805b546f02016e47089acbeb960 /net/lapb/lapb_in.c | |
parent | 754a00aeb26bcc8bf82897538a078bc84a6d95c7 (diff) |
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 <[email protected]>
Signed-off-by: Haavard Skinnemoen <[email protected]>
Diffstat (limited to 'net/lapb/lapb_in.c')
0 files changed, 0 insertions, 0 deletions