]> git.karo-electronics.de Git - karo-tx-linux.git/commit
PCI/MSI: Don't warn when irq_create_affinity_masks() returns NULL
authorChristoph Hellwig <hch@lst.de>
Fri, 25 Aug 2017 23:58:42 +0000 (18:58 -0500)
committerBjorn Helgaas <bhelgaas@google.com>
Fri, 25 Aug 2017 23:58:42 +0000 (18:58 -0500)
commit8e1101d251647802d0a4ae19eb3d0e1453eaeff4
treeb70d1e4c86993cf32aac9d00b2a826ac48491ee8
parent8466489ef5ba48272ba4fa4ea9f8f403306de4c7
PCI/MSI: Don't warn when irq_create_affinity_masks() returns NULL

irq_create_affinity_masks() can return NULL on non-SMP systems, when there
are not enough "free" vectors available to spread, or if memory allocation
for the CPU masks fails.  Only the allocation failure is of interest, and
even then the system will work just fine except for non-optimally spread
vectors.  Thus remove the warnings.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Acked-by: David S. Miller <davem@davemloft.net>
drivers/pci/msi.c