staging: tidspbridge: check return code of kzalloc
authorVasiliy Kulikov <segooon@gmail.com>
Sun, 5 Sep 2010 18:32:49 +0000 (22:32 +0400)
committerGreg Kroah-Hartman <gregkh@suse.de>
Sun, 5 Sep 2010 23:59:49 +0000 (16:59 -0700)
commite5a7dc54eedde81e87832e02ba0f6b8c5a4d2d48
treebc8c2cf3744948f19143c16d223ceafdbfe8993e
parentd5ed54322e54d48e5fa66dff0086b79211f1cde7
staging: tidspbridge: check return code of kzalloc

Function kzalloc may fail. Check for it.

Signed-off-by: Vasiliy Kulikov <segooon@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/tidspbridge/rmgr/dbdcd.c