summaryrefslogtreecommitdiffstats
path: root/lib/find_bit.c
diff options
context:
space:
mode:
authorDavid Daney <david.daney@cavium.com>2015-09-09 15:57:59 -0700
committerRob Herring <robh@kernel.org>2015-09-17 14:46:11 -0500
commitc8aa33a7114704f3f5a359893a8e1de9ea2940a5 (patch)
tree1ab5d94cda6bbe718da6d84a8afa4778fda52fa0 /lib/find_bit.c
parent31b47ae3f18b31d86f553198e624b3b38f6397a2 (diff)
downloadop-kernel-dev-c8aa33a7114704f3f5a359893a8e1de9ea2940a5.zip
op-kernel-dev-c8aa33a7114704f3f5a359893a8e1de9ea2940a5.tar.gz
of_pci_irq: Silence bogus "of_irq_parse_pci() failed ..." messages.
It is perfectly legitimate for a PCI device to have an PCI_INTERRUPT_PIN value of zero. This happens if the device doesn't use interrupts, or on PCIe devices, where only MSI/MSI-X are supported. Silence the annoying "of_irq_parse_pci() failed with rc=-19" error messages by moving the printing code into of_irq_parse_pci(), and only emitting the message for cases where PCI_INTERRUPT_PIN == 0 is not the cause for an early exit. Signed-off-by: David Daney <david.daney@cavium.com> Signed-off-by: Rob Herring <robh@kernel.org>
Diffstat (limited to 'lib/find_bit.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud