Staging: rt2860: fix possible NULL dereferences
authorRoel Kluin <roel.kluin@gmail.com>
Mon, 31 Aug 2009 10:26:43 +0000 (12:26 +0200)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 15 Sep 2009 19:02:33 +0000 (12:02 -0700)
commita89dfebdad050598479c73c1a22e2323085b5596
tree64a4dc264ae9a349c106c1f5303a238e1c776dd3
parent18526c7896fca5229c8d7b4b415605a17f9952d0
Staging: rt2860: fix possible NULL dereferences

Allocations may fail, prevent NULL dereferences.

Signed-off-by: Roel Kluin <roel.kluin@gmail.com>
Acked-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/rt2860/common/ba_action.c
drivers/staging/rt2860/common/cmm_data.c
drivers/staging/rt2860/rt_main_dev.c