From: Xiubo Li Date: Sat, 7 Jul 2018 02:05:37 +0000 (-0400) Subject: uio: use request_threaded_irq instead X-Git-Tag: v5.15~8453^2~4 X-Git-Url: https://git.proxmox.com/?a=commitdiff_plain;h=9421e45f5ff3d558cf8b75a8cc0824530caf3453;p=mirror_ubuntu-kernels.git uio: use request_threaded_irq instead Prepraing for changing to use mutex lock. Signed-off-by: Xiubo Li Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/uio/uio.c b/drivers/uio/uio.c index e8f4ac9400ea..b4b2ae1e0473 100644 --- a/drivers/uio/uio.c +++ b/drivers/uio/uio.c @@ -902,8 +902,9 @@ int __uio_register_device(struct module *owner, * FDs at the time of unregister and therefore may not be * freed until they are released. */ - ret = request_irq(info->irq, uio_interrupt, - info->irq_flags, info->name, idev); + ret = request_threaded_irq(info->irq, NULL, uio_interrupt, + info->irq_flags, info->name, idev); + if (ret) goto err_request_irq; }