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, > _______________________________________________ Intel-gfx mailing list Intel-gfx@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/intel-gfx
- [Intel-gfx] [patch 12/30] s390/irq: Use irq_desc_kstat_cpu... Thomas Gleixner
- Re: [Intel-gfx] [patch 12/30] s390/irq: Use irq_desc_... Heiko Carstens
- [Intel-gfx] [patch 18/30] PCI: xilinx-nwl: Use irq_data_ge... Thomas Gleixner
- [Intel-gfx] [patch 28/30] xen/events: Reduce irq_info::spu... Thomas Gleixner
- [Intel-gfx] [patch 25/30] xen/events: Remove disfunct affi... Thomas Gleixner
- [Intel-gfx] [patch 26/30] xen/events: Use immediate affini... Thomas Gleixner
- [Intel-gfx] [patch 29/30] xen/events: Implement irq distri... Thomas Gleixner
- [Intel-gfx] [patch 30/30] genirq: Remove export of irq_to_... Thomas Gleixner
- [Intel-gfx] [patch 17/30] NTB/msi: Use irq_has_action() Thomas Gleixner
- Re: [Intel-gfx] [patch 17/30] NTB/msi: Use irq_has_ac... Logan Gunthorpe
- [Intel-gfx] [patch 16/30] mfd: ab8500-debugfs: Remove the ... Thomas Gleixner
- Re: [Intel-gfx] [patch 16/30] mfd: ab8500-debugfs: Re... Linus Walleij
- Re: [Intel-gfx] [patch 16/30] mfd: ab8500-debugfs: Re... Lee Jones
- Re: [Intel-gfx] [patch 16/30] mfd: ab8500-debugfs: Re... Andy Shevchenko
- [Intel-gfx] [patch 22/30] net/mlx5: Replace irq_to_desc() ... Thomas Gleixner
- Re: [Intel-gfx] [patch 22/30] net/mlx5: Replace irq_t... Tariq Toukan
- Re: [Intel-gfx] [patch 22/30] net/mlx5: Replace irq_t... Saeed Mahameed
- [Intel-gfx] [patch 21/30] net/mlx4: Use effective interrup... Thomas Gleixner
- [Intel-gfx] [patch 24/30] xen/events: Remove unused bind_e... Thomas Gleixner