[PATCH net RESEND 0/3] net: Use IRQF_NO_AUTOEN flag in request_irq()
From: Jinjie Ruan
Date: Wed Sep 11 2024 - 05:36:36 EST
As commit cbe16f35bee6 ("genirq: Add IRQF_NO_AUTOEN for request_irq/nmi()")
said, reqeust_irq() and then disable_irq() is unsafe.
IRQF_NO_AUTOEN flag can be used by drivers to request_irq(). It prevents
the automatic enabling of the requested interrupt in the same safe way.
With that the usage can be simplified and corrected.
Only compile-tested.
v1 -> RESNED
- Add reviewed-by.
- Put wireless into another patch set.
- Update to net prefix subject.
Jinjie Ruan (3):
net: apple: bmac: Use IRQF_NO_AUTOEN flag in request_irq()
net: enetc: Use IRQF_NO_AUTOEN flag in request_irq()
nfp: Use IRQF_NO_AUTOEN flag in request_irq()
drivers/net/ethernet/apple/bmac.c | 3 +--
drivers/net/ethernet/freescale/enetc/enetc.c | 3 +--
drivers/net/ethernet/netronome/nfp/nfp_net_common.c | 5 ++---
3 files changed, 4 insertions(+), 7 deletions(-)
--
2.34.1