diff options
author | Dan Carpenter <dan.carpenter@oracle.com> | 2018-08-02 10:15:58 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2018-08-02 10:14:26 +0200 |
commit | 95883676e34ab93f600787cc9831707bcdad4398 (patch) | |
tree | 5427e08e1a67dde399bf92390a19439c12a44b30 /lib/muldi3.c | |
parent | 7ceb1c37533e2298797188087796dd44931d86af (diff) | |
download | linux-95883676e34ab93f600787cc9831707bcdad4398.tar.bz2 |
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>
Diffstat (limited to 'lib/muldi3.c')
0 files changed, 0 insertions, 0 deletions