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] xen/events: ... Andrew Cooper
- Re: [patch 27/30] xen/events: ... Thomas Gleixner
- [patch 09/30] ARM: smp: Use irq_desc_kstat_cpu() in show... Thomas Gleixner
- [patch 29/30] xen/events: Implement irq distribution Thomas Gleixner
- [patch 28/30] xen/events: Reduce irq_info::spurious_cnt ... Thomas Gleixner
- [patch 24/30] xen/events: Remove unused bind_evtchn_to_i... Thomas Gleixner
- Re: [patch 24/30] xen/events: Remove unused bind_ev... boris . ostrovsky
- Re: [patch 24/30] xen/events: Remove unused bin... 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 22/30] net/mlx5: Replace irq_to_desc() abuse Thomas Gleixner
- Re: [patch 22/30] net/mlx5: Replace irq_to_desc() a... Tariq Toukan
- Re: [patch 22/30] net/mlx5: Replace irq_to_desc() a... Saeed Mahameed
- [patch 20/30] net/mlx4: Replace irq_to_desc() abuse Thomas Gleixner
- [patch 23/30] net/mlx5: Use effective interrupt affinity Thomas Gleixner
- Re: [patch 23/30] net/mlx5: Use effective interrupt... Tariq Toukan
- Re: [patch 23/30] net/mlx5: Use effective interrupt... Saeed Mahameed
- [patch 15/30] pinctrl: nomadik: Use irq_has_action() Thomas Gleixner
- Re: [patch 15/30] pinctrl: nomadik: Use irq_has_act... Linus Walleij
