]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit314f33c367f815d81c6bb771142c0949e0c6d56d
treee6e654fae01505b9bea73b52ea6d5f6df718d3e0
parentad92cba243e339a9a115bf31dc1505e59c9fa8f7
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