Staging: hv: return correct error values in Connection.c
authorBill Pemberton <wfp5p@virginia.edu>
Wed, 5 May 2010 19:27:32 +0000 (15:27 -0400)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 11 May 2010 18:36:13 +0000 (11:36 -0700)
commit8cad0af9a1a1882cd00f12f8f7c79690f563b1d7
treef3f288b147d8187f732ab395cd008855e706d45f
parent7e052d98f2bbcaaaa6d509081d78e600927cfe60
Staging: hv: return correct error values in Connection.c

Also check the kzalloc call return value.

Signed-off-by: Bill Pemberton <wfp5p@virginia.edu>
Cc: Hank Janssen <hjanssen@microsoft.com>
Cc: Haiyang Zhang <haiyangz@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/hv/Connection.c