diff options
| author | Alexey Khoroshilov <khoroshilov@ispras.ru> | 2012-09-25 16:56:02 +0400 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-09-25 15:48:25 -0700 |
| commit | 4c229df0b19cda41a8ea93f26497374004299fda (patch) | |
| tree | a9e3254733012de324061a1708726f2bceffc4d2 /tools/perf/scripts/python/Perf-Trace-Util/lib | |
| parent | 62fea8c8f1bf5ca33ba55b3f421d9598a68297ee (diff) | |
staging: sbe-2t3e3: fix error handling in t3e3_init_channel()
t3e3_init_channel() incorrectly handles errors in several places:
it returns zero and does not deallocate all required resources.
The patch fixes that places.
Found by Linux Driver Verification project (linuxtesting.org).
Signed-off-by: Alexey Khoroshilov <khoroshilov@ispras.ru>
Reviewed-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util/lib')
0 files changed, 0 insertions, 0 deletions
