From: Bill Pemberton Date: Wed, 5 May 2010 19:27:49 +0000 (-0400) Subject: staging: hv: check return value of RingBufferInit() X-Git-Tag: v2.6.35-rc1~441^2^2~158 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3324fb405340cf52fe361697a86d235587402d9c;p=pandora-kernel.git staging: hv: check return value of RingBufferInit() RingBufferInit() would always return sucess and instead relied on an ASSERT() to test for an error condition. Remove the ASSERT() and return -EINVAL instead. The return value of RingBufferInit() was also never checked, so check it. Signed-off-by: Bill Pemberton Cc: Hank Janssen Cc: Haiyang Zhang Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed