staging: tidspbridge: check kmalloc() result
authorKulikov Vasiliy <segooon@gmail.com>
Fri, 16 Jul 2010 16:14:11 +0000 (20:14 +0400)
committerGreg Kroah-Hartman <gregkh@suse.de>
Thu, 22 Jul 2010 17:54:03 +0000 (10:54 -0700)
commitdd85c9911d6eb44f398d07006a3c4ce57d36b7b9
tree79f6de029d8d31c94dfcdee1687ebec7cf07401a
parent4018e396518e56a156fd99a2a44a675bc87437dd
staging: tidspbridge: check kmalloc() result

If kmalloc() fails then exit with -ENOMEM.

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