On 2020-12-10 12:25 p.m., Thomas Gleixner wrote: > Use the proper core function. > > Signed-off-by: Thomas Gleixner <t...@linutronix.de> > Cc: Jon Mason <jdma...@kudzu.us> > Cc: Dave Jiang <dave.ji...@intel.com> > Cc: Allen Hubbe <alle...@gmail.com> > Cc: linux-...@googlegroups.com Looks good to me. Reviewed-by: Logan Gunthorpe <log...@deltatee.com> > --- > 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, > _______________________________________________ dri-devel mailing list dri-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/dri-devel
- RE: [patch 14/30] drm/i915/pmu: Replace open ... David Laight
- RE: [patch 14/30] drm/i915/pmu: Replace o... Thomas Gleixner
- RE: [patch 14/30] drm/i915/pmu: Repl... David Laight
- [patch 26/30] xen/events: Use immediate affinity setting Thomas Gleixner
- [patch 12/30] s390/irq: Use irq_desc_kstat_cpu() in show_m... Thomas Gleixner
- Re: [patch 12/30] s390/irq: Use irq_desc_kstat_cpu() ... Heiko Carstens
- [patch 04/30] genirq: Provide irq_get_effective_affinity() Thomas Gleixner
- [patch 19/30] PCI: mobiveil: Use irq_data_get_irq_chip_dat... Thomas Gleixner
- [patch 17/30] NTB/msi: Use irq_has_action() Thomas Gleixner
- Re: [patch 17/30] NTB/msi: Use irq_has_action() Logan Gunthorpe
- [patch 15/30] pinctrl: nomadik: Use irq_has_action() Thomas Gleixner
- Re: [patch 15/30] pinctrl: nomadik: Use irq_has_actio... Linus Walleij
- [patch 03/30] genirq: Move irq_set_lockdep_class() to core Thomas Gleixner
- Re: [patch 03/30] genirq: Move irq_set_lockdep_class(... Andy Shevchenko
- Re: [patch 03/30] genirq: Move irq_set_lockdep_cl... Thomas Gleixner
- Re: [patch 03/30] genirq: Move irq_set_lockde... Thomas Gleixner
- Re: [patch 03/30] genirq: Move irq_set_lo... Andy Shevchenko
- [patch 08/30] genirq: Provide kstat_irqdesc_cpu() Thomas Gleixner
- [patch 23/30] net/mlx5: Use effective interrupt affinity Thomas Gleixner