kernel-fxtec-pro1x/drivers/staging/hv
Bill Pemberton 3324fb4053 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 <wfp5p@virginia.edu>
Cc: Hank Janssen <hjanssen@microsoft.com>
Cc: Haiyang Zhang <haiyangz@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2010-05-11 11:36:14 -07:00
..
BlkVsc.c Staging: hv: Fix some missing author names 2009-11-30 16:39:35 -08:00
blkvsc_drv.c staging: hv: remove ASSERT()s in blkvsc_drv.c 2010-05-11 11:36:14 -07:00
Channel.c staging: hv: check return value of RingBufferInit() 2010-05-11 11:36:14 -07:00
Channel.h Staging: hv: remove PFN_CHANNEL_CALLBACK 2009-09-15 12:02:03 -07:00
ChannelInterface.c Staging: hv: remove function pointer typedefs from VmbusApi.h 2009-09-15 12:02:03 -07:00
ChannelInterface.h Staging: hv: move VmbusApi.h 2009-09-15 12:02:00 -07:00
ChannelMgmt.c Staging: hv: remove ASSERT()s in ChannelMgt.c 2010-05-11 11:36:12 -07:00
ChannelMgmt.h Staging: hv: fix oops in vmbus - missing #include 2009-10-30 14:47:43 -07:00
Connection.c Staging: hv: test return value of osd_WaitEventCreate() 2010-05-11 11:36:13 -07:00
Hv.c Staging: hv: Remove check for NULL before calling kfree() 2010-05-11 11:36:12 -07:00
Hv.h Staging: hv: Remove xen legacy code and check for Hyper-V 2010-03-03 16:42:37 -08:00
hv_api.h Staging: fix assorted typos all over the place 2009-12-11 12:23:20 -08:00
hyperv_utils.c Staging: hv: fix up sparse warning in hyperv_utils.c 2010-05-11 11:36:07 -07:00
Kconfig staging: hv: make the block driver depend on LBDAF 2010-05-11 11:36:14 -07:00
logging.h Staging: hv: move logging.h 2009-09-15 12:02:00 -07:00
Makefile Staging: hv: delete ext_utils.c 2010-05-11 11:36:04 -07:00
NetVsc.c Staging: hv: test return value of osd_WaitEventCreate() 2010-05-11 11:36:13 -07:00
NetVsc.h Staging: hv: don't use dynamic sized array 2010-05-11 11:35:38 -07:00
netvsc_drv.c Staging: hv: add basic ethtool support 2010-05-11 11:36:10 -07:00
NetVscApi.h Staging: hv: use existing Ethernet header size 2010-05-11 11:36:09 -07:00
osd.c staging: hv: Corrected all header comment formats kernel-doc format 2010-05-11 11:35:32 -07:00
osd.h Staging: hv: fix oops in vmbus - missing #include 2009-10-30 14:47:43 -07:00
RingBuffer.c staging: hv: check return value of RingBufferInit() 2010-05-11 11:36:14 -07:00
RingBuffer.h Staging: hv: move osd.h 2009-09-15 12:01:56 -07:00
rndis.h Staging: hv: trivial whitespace fixes found by checkpatch.pl 2010-05-11 11:35:36 -07:00
RndisFilter.c staging: hv: remove ASSERT()s in RndisFilter.c 2010-05-11 11:36:14 -07:00
RndisFilter.h Staging: hv: fix up typedefs in NetVscApi.h 2009-09-15 12:01:59 -07:00
StorVsc.c staging: hv: remove ASSERT()s in StorVsc.c 2010-05-11 11:36:14 -07:00
storvsc_drv.c staging: hv: remove ASSERT()s in storvsc_drv.c 2010-05-11 11:36:14 -07:00
StorVscApi.h Staging: hv: remove unneeded OnHostReset callback 2010-03-03 16:42:36 -08:00
TODO Staging: hv: use network device stats 2010-05-11 11:35:34 -07:00
utils.h Staging: hv: delete ext_utils.c 2010-05-11 11:36:04 -07:00
VersionInfo.h Staging: hv: trivial whitespace fixes found by checkpatch.pl 2010-05-11 11:35:36 -07:00
Vmbus.c staging: hv: Corrected all header comment formats kernel-doc format 2010-05-11 11:35:32 -07:00
vmbus.h Staging: hv: Rename struct device_context and re-arrange the fields inside 2010-03-03 16:42:37 -08:00
vmbus_drv.c Staging: hv: trivial whitespace fixes found by checkpatch.pl 2010-05-11 11:35:36 -07:00
VmbusApi.h staging: hv: Corrected all header comment formats kernel-doc format 2010-05-11 11:35:32 -07:00
VmbusChannelInterface.h Staging: hv: move VmbusChannelInterface.h 2009-09-15 12:02:01 -07:00
VmbusPacketFormat.h Staging: hv: Added new hv_utils driver with shutdown as first functionality 2010-05-11 11:36:03 -07:00
VmbusPrivate.h Staging: hv: remove more usages of internal list routines 2009-09-15 12:02:04 -07:00
vstorage.h Staging: hv: fix spaces coding style issue in vstorage.h 2010-05-11 11:35:38 -07:00