aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin
diff options
context:
space:
mode:
authorBill Pemberton <[email protected]>2010-05-05 15:27:49 -0400
committerGreg Kroah-Hartman <[email protected]>2010-05-11 11:36:14 -0700
commit3324fb405340cf52fe361697a86d235587402d9c (patch)
tree5b8ab85cdfb894a8e4ce4352f82260cf7b77f87b /tools/perf/scripts/python/bin
parent1bbdd7a5380239533c4bb648c5d5d9510f12974b (diff)
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 <[email protected]> Cc: Hank Janssen <[email protected]> Cc: Haiyang Zhang <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions