Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

Merge tag 'pci-v4.13-fixes-3' of git://git.kernel.org/pub/scm/linux/kernel/git/helgaas/pci

Pull PCI fix from Bjorn Helgaas:
"Remove needlessly alarming MSI affinity warning (this is not actually
a bug fix, but the warning prompts unnecessary bug reports)"

* tag 'pci-v4.13-fixes-3' of git://git.kernel.org/pub/scm/linux/kernel/git/helgaas/pci:
PCI/MSI: Don't warn when irq_create_affinity_masks() returns NULL

+3 -10
+3 -10
drivers/pci/msi.c
··· 538 538 struct msi_desc *entry; 539 539 u16 control; 540 540 541 - if (affd) { 541 + if (affd) 542 542 masks = irq_create_affinity_masks(nvec, affd); 543 - if (!masks) 544 - dev_err(&dev->dev, "can't allocate MSI affinity masks for %d vectors\n", 545 - nvec); 546 - } 543 + 547 544 548 545 /* MSI Entry Initialization */ 549 546 entry = alloc_msi_entry(&dev->dev, nvec, masks); ··· 676 679 struct msi_desc *entry; 677 680 int ret, i; 678 681 679 - if (affd) { 682 + if (affd) 680 683 masks = irq_create_affinity_masks(nvec, affd); 681 - if (!masks) 682 - dev_err(&dev->dev, "can't allocate MSI-X affinity masks for %d vectors\n", 683 - nvec); 684 - } 685 684 686 685 for (i = 0, curmsk = masks; i < nvec; i++) { 687 686 entry = alloc_msi_entry(&dev->dev, 1, curmsk);