diff options
| author | Alexey Khoroshilov <khoroshilov@ispras.ru> | 2014-12-20 00:51:26 +0300 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2015-01-17 15:04:12 -0800 |
| commit | d7312aab230f975b8ec41c0055a17f0d395b7fb5 (patch) | |
| tree | 2e4c7d06f5288ebf45a426af696001bcc74e7514 /tools/perf/scripts/python/bin | |
| parent | 1cf3273dfbd7918fd43e0c70c65795a89f8e88d7 (diff) | |
staging: dgnc: implement proper error handling in dgnc_start()
dgnc_start() ignores errors in class_create() and device_create()
and it does not deallocate resources if dgnc_tty_preinit() fails.
The patch implements proper error handling.
Found by Linux Driver Verification project (linuxtesting.org).
Signed-off-by: Alexey Khoroshilov <khoroshilov@ispras.ru>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions
