summaryrefslogtreecommitdiffstats
path: root/drivers/uio/uio.c
diff options
context:
space:
mode:
authorDan Carpenter <dan.carpenter@oracle.com>2018-08-02 09:15:58 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2018-08-02 10:14:26 +0200
commit95883676e34ab93f600787cc9831707bcdad4398 (patch)
tree5427e08e1a67dde399bf92390a19439c12a44b30 /drivers/uio/uio.c
parentDrivers: hv: vmbus: add numa_node to sysfs (diff)
downloadlinux-95883676e34ab93f600787cc9831707bcdad4398.tar.xz
linux-95883676e34ab93f600787cc9831707bcdad4398.zip
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 'drivers/uio/uio.c')
0 files changed, 0 insertions, 0 deletions