Skip to content

Commit b72e40b

Browse files
committed
Merge tag 'irq_urgent_for_v5.17_rc3' of git://git.kernel.org/pub/scm/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()
2 parents 898b584 + dd7f5a1 commit b72e40b

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

drivers/pci/msi/msi.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1111,7 +1111,8 @@ const struct cpumask *pci_irq_get_affinity(struct pci_dev *dev, int nr)
11111111
if (!desc)
11121112
return cpu_possible_mask;
11131113

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

11171118
/*

0 commit comments

Comments
 (0)