]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
staging: ozwpan: implement error handling in ozwpan_init()
authorAlexey Khoroshilov <khoroshilov@ispras.ru>
Fri, 20 Mar 2015 23:15:32 +0000 (02:15 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 26 Mar 2015 12:13:13 +0000 (13:13 +0100)
commit330b5e80efcace88663b93bdd5ee41013284cb52
treed3439665be5277959e847cdf60c46b98ae5141dd
parentc181be7f32d168f5deb85bffc7f874a4b36daeee
staging: ozwpan: implement error handling in ozwpan_init()

Errors are correctly handled in oz_cdev_register() and oz_protocol_init(),
but then they are ignored in ozwpan_init().

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/ozwpan/ozmain.c