staging: dgap: implement proper error handling in dgap_start()
authorAlexey Khoroshilov <khoroshilov@ispras.ru>
Sat, 8 Mar 2014 21:01:34 +0000 (01:01 +0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 9 Mar 2014 06:44:35 +0000 (22:44 -0800)
commit0669e5fa802fb7de3c842388059a777afac13205
tree5766edd79ce18dcdd04fbd99b2bb7acddb4fe3bf
parentaf07daa0af2099d7144bb55cbb9d4758d8578a23
staging: dgap: implement proper error handling in dgap_start()

dgap_start() ignored errors in class_create() and device_create().
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>
drivers/staging/dgap/dgap.c
This page took 0.025204 seconds and 5 git commands to generate.