commit | 95883676e34ab93f600787cc9831707bcdad4398 | [log] [tgz] |
---|---|---|
author | Dan Carpenter <dan.carpenter@oracle.com> | Thu Aug 02 10:15:58 2018 +0300 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Thu Aug 02 10:14:26 2018 +0200 |
tree | 5427e08e1a67dde399bf92390a19439c12a44b30 | |
parent | 7ceb1c37533e2298797188087796dd44931d86af [diff] |
uio: pruss: fix error handling in probe There are two bugs here. First the error codes weren't set on several paths. And second, if the call to request_threaded_irq() inside uio_register_device() fails then it would lead to a double free when we call uio_unregister_device() inside pruss_cleanup(). Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>