git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1cf3273
)
staging: dgnc: implement proper error handling in dgnc_start()
author
Alexey Khoroshilov
<khoroshilov@ispras.ru>
Fri, 19 Dec 2014 21:51:26 +0000
(
00:51
+0300)
committer
Greg Kroah-Hartman
<gregkh@linuxfoundation.org>
Sat, 17 Jan 2015 23:04:12 +0000
(15:04 -0800)
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>
No differences found