Staging: hv: check return value of osd_PageAlloc()
authorBill Pemberton <wfp5p@virginia.edu>
Wed, 5 May 2010 19:27:30 +0000 (15:27 -0400)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 11 May 2010 18:36:12 +0000 (11:36 -0700)
commit7e052d98f2bbcaaaa6d509081d78e600927cfe60
treee6e654fae01505b9bea73b52ea6d5f6df718d3e0
parent75910f236a30bded00f078cab994f35a7171c39b
Staging: hv: check return value of osd_PageAlloc()

The return value of osd_PageAlloc() was checked using an ASSERT().
Change that to more useful behaviour.

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