Searched hist:95883676 (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/drivers/uio/ |
H A D | uio_pruss.c | 95883676 Thu Aug 02 02:15:58 CDT 2018 Dan Carpenter <dan.carpenter@oracle.com> 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> 95883676 Thu Aug 02 02:15:58 CDT 2018 Dan Carpenter <dan.carpenter@oracle.com> 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>
|