On 2020-12-10 12:25 p.m., Thomas Gleixner wrote: > Use the proper core function. > > Signed-off-by: Thomas Gleixner <[email protected]> > Cc: Jon Mason <[email protected]> > Cc: Dave Jiang <[email protected]> > Cc: Allen Hubbe <[email protected]> > Cc: [email protected] Looks good to me. Reviewed-by: Logan Gunthorpe <[email protected]> > --- > drivers/ntb/msi.c | 4 +--- > 1 file changed, 1 insertion(+), 3 deletions(-) > > --- a/drivers/ntb/msi.c > +++ b/drivers/ntb/msi.c > @@ -282,15 +282,13 @@ int ntbm_msi_request_threaded_irq(struct > struct ntb_msi_desc *msi_desc) > { > struct msi_desc *entry; > - struct irq_desc *desc; > int ret; > > if (!ntb->msi) > return -EINVAL; > > for_each_pci_msi_entry(entry, ntb->pdev) { > - desc = irq_to_desc(entry->irq); > - if (desc->action) > + if (irq_has_action(entry->irq)) > continue; > > ret = devm_request_threaded_irq(&ntb->dev, entry->irq, handler, >
- Re: [patch 27/30] x... Thomas Gleixner
- [tip: irq/core] xen/events: Only force a... tip-bot2 for Thomas Gleixner
- [patch 09/30] ARM: smp: Use irq_desc_kstat_cp... Thomas Gleixner
- Re: [patch 09/30] ARM: smp: Use irq_desc... Marc Zyngier
- [tip: irq/core] ARM: smp: Use irq_desc_k... tip-bot2 for Thomas Gleixner
- [patch 28/30] xen/events: Reduce irq_info::sp... Thomas Gleixner
- [tip: irq/core] xen/events: Reduce irq_i... tip-bot2 for Thomas Gleixner
- [patch 29/30] xen/events: Implement irq distr... Thomas Gleixner
- [tip: irq/core] xen/events: Implement ir... tip-bot2 for Thomas Gleixner
- [patch 17/30] NTB/msi: Use irq_has_action() Thomas Gleixner
- Re: [patch 17/30] NTB/msi: Use irq_has_a... Logan Gunthorpe
- [tip: irq/core] NTB/msi: Use irq_has_act... tip-bot2 for Thomas Gleixner
- [patch 24/30] xen/events: Remove unused bind_... Thomas Gleixner
- Re: [patch 24/30] xen/events: Remove unu... boris . ostrovsky
- Re: [patch 24/30] xen/events: Remove... Thomas Gleixner
- [tip: irq/core] xen/events: Remove unuse... tip-bot2 for Thomas Gleixner
- [patch 22/30] net/mlx5: Replace irq_to_desc()... Thomas Gleixner
- [tip: irq/core] net/mlx5: Replace irq_to... tip-bot2 for Thomas Gleixner
- Re: [patch 22/30] net/mlx5: Replace irq_... Tariq Toukan
- [patch 23/30] net/mlx5: Use effective interru... Thomas Gleixner
- [tip: irq/core] net/mlx5: Use effective ... tip-bot2 for Thomas Gleixner

