Skip to content

Commit

Permalink
Merge tag 'irq_urgent_for_v5.17_rc3' of git://git.kernel.org/pub/scm/…
Browse files Browse the repository at this point in the history
…linux/kernel/git/tip/tip

Pull irq fix from Borislav Petkov:
 "Remove a bogus warning introduced by the recent PCI MSI irq affinity
  overhaul"

* tag 'irq_urgent_for_v5.17_rc3' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
  PCI/MSI: Remove bogus warning in pci_irq_get_affinity()
  • Loading branch information
Linus Torvalds committed Feb 6, 2022
2 parents 898b584 + dd7f5a1 commit b72e40b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion drivers/pci/msi/msi.c
Original file line number Diff line number Diff line change
Expand Up @@ -1111,7 +1111,8 @@ const struct cpumask *pci_irq_get_affinity(struct pci_dev *dev, int nr)
if (!desc)
return cpu_possible_mask;

if (WARN_ON_ONCE(!desc->affinity))
/* MSI[X] interrupts can be allocated without affinity descriptor */
if (!desc->affinity)
return NULL;

/*
Expand Down

0 comments on commit b72e40b

Please sign in to comment.