]> git.baikalelectronics.ru Git - kernel.git/commit
staging: hv: check kzalloc() result
authorKulikov Vasiliy <segooon@gmail.com>
Fri, 16 Jul 2010 16:13:51 +0000 (20:13 +0400)
committerGreg Kroah-Hartman <gregkh@suse.de>
Thu, 22 Jul 2010 21:33:00 +0000 (14:33 -0700)
commit1c3926a4baa3bf7498edae0e70ffe8f1a6138ba9
tree738e67b76cf63dea283e7dee3ad6efffb2e345a1
parentb845cbf3564ba1434ed754d05c52abee8ea2b2c5
staging: hv: check kzalloc() result

If kzalloc() fails free allocated resources and exit.

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