lists.openwall.net | lists / announce owl-users owl-dev john-users john-dev passwdqc-users yescrypt popa3d-users / oss-security kernel-hardening musl sabotage tlsify passwords / crypt-dev xvendor / Bugtraq Full-Disclosure linux-kernel linux-netdev linux-ext4 linux-hardening linux-cve-announce PHC | |
Open Source and information security mailing list archives
| ||
|
Message-ID: <164625693367.16921.13135679559727131804.tip-bot2@tip-bot2> Date: Wed, 02 Mar 2022 21:35:33 -0000 From: "tip-bot2 for Sebastian Andrzej Siewior" <tip-bot2@...utronix.de> To: linux-tip-commits@...r.kernel.org Cc: Sebastian Andrzej Siewior <bigeasy@...utronix.de>, Thomas Gleixner <tglx@...utronix.de>, "Greg Kroah-Hartman" <gregkh@...uxfoundation.org>, Johan Hovold <johan@...nel.org>, Alex Elder <elder@...nel.org>, Rui Miguel Silva <rmfrfs@...il.com>, x86@...nel.org, linux-kernel@...r.kernel.org, maz@...nel.org Subject: [tip: irq/core] staging: greybus: gpio: Use generic_handle_irq_safe(). The following commit has been merged into the irq/core branch of tip: Commit-ID: ff8dcfebe08dfb2524041116d4afce53ffe0b015 Gitweb: https://git.kernel.org/tip/ff8dcfebe08dfb2524041116d4afce53ffe0b015 Author: Sebastian Andrzej Siewior <bigeasy@...utronix.de> AuthorDate: Fri, 11 Feb 2022 19:15:00 +01:00 Committer: Thomas Gleixner <tglx@...utronix.de> CommitterDate: Wed, 02 Mar 2022 22:28:51 +01:00 staging: greybus: gpio: Use generic_handle_irq_safe(). Instead of manually disabling interrupts before invoking use generic_handle_irq_safe() which can be invoked with enabled and disabled interrupts. Signed-off-by: Sebastian Andrzej Siewior <bigeasy@...utronix.de> Signed-off-by: Thomas Gleixner <tglx@...utronix.de> Acked-by: Greg Kroah-Hartman <gregkh@...uxfoundation.org> Acked-by: Johan Hovold <johan@...nel.org> Cc: Alex Elder <elder@...nel.org> Cc: Rui Miguel Silva <rmfrfs@...il.com> Link: https://lore.kernel.org/r/20220211181500.1856198-8-bigeasy@linutronix.de --- drivers/staging/greybus/gpio.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/drivers/staging/greybus/gpio.c b/drivers/staging/greybus/gpio.c index 7e6347f..8a7cf1d 100644 --- a/drivers/staging/greybus/gpio.c +++ b/drivers/staging/greybus/gpio.c @@ -391,10 +391,7 @@ static int gb_gpio_request_handler(struct gb_operation *op) return -EINVAL; } - local_irq_disable(); - ret = generic_handle_irq(irq); - local_irq_enable(); - + ret = generic_handle_irq_safe(irq); if (ret) dev_err(dev, "failed to invoke irq handler\n");
Powered by blists - more mailing lists