Staging: hv: remove ASSERT() in Channel.c
authorBill Pemberton <wfp5p@virginia.edu>
Wed, 5 May 2010 19:27:35 +0000 (15:27 -0400)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 11 May 2010 18:36:13 +0000 (11:36 -0700)
commitd1c250bb5df9afb5af3f290d1006dfe601a51e2e
tree183c56b90d89a0c3749d4b83425045dea1485e87
parentc3bf2e26b30f4ea54f3825e8ebda7cb10ec204de
Staging: hv: remove ASSERT() in Channel.c

check memory allocation in VmbusChannelCreateGpadlHeader() and
return -ENOMEM if it fails

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/Channel.c