diff options
| author | Bill Pemberton <wfp5p@virginia.edu> | 2010-05-05 23:27:49 +0400 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@suse.de> | 2010-05-11 22:36:14 +0400 |
| commit | 3324fb405340cf52fe361697a86d235587402d9c (patch) | |
| tree | 5b8ab85cdfb894a8e4ce4352f82260cf7b77f87b /tools/perf/scripts/python | |
| parent | 1bbdd7a5380239533c4bb648c5d5d9510f12974b (diff) | |
| download | linux-3324fb405340cf52fe361697a86d235587402d9c.tar.xz | |
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>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
