summaryrefslogtreecommitdiffstats
path: root/arch/powerpc/platforms/pseries/setup.c
diff options
context:
space:
mode:
authorMarc Zyngier <marc.zyngier@arm.com>2015-09-04 17:50:09 +0100
committerBjorn Helgaas <bhelgaas@google.com>2015-09-17 12:21:01 -0500
commita07245d14fcb0ac760bfc60fc3483b0619998867 (patch)
tree82e19491d22061e72c4394be3c79c95fd2829647 /arch/powerpc/platforms/pseries/setup.c
parentf81c11af617ca4bad5028e9e431feae8d4166bc7 (diff)
downloadlinux-a07245d14fcb0ac760bfc60fc3483b0619998867.tar.gz
linux-a07245d14fcb0ac760bfc60fc3483b0619998867.tar.bz2
linux-a07245d14fcb0ac760bfc60fc3483b0619998867.zip
PCI: generic: Fix lookup of linux,pci-probe-only property
When pci-host-generic looks for the probe-only property, it seems to trust the DT to be correctly written, and assumes that there is a parameter to the property. Unfortunately, this is not always the case, and some firmware expose this property naked. The driver ends up making a decision based on whatever the property pointer points to, which is likely to be junk. Switch to the common of_pci.c implementation that doesn't suffer from this problem. Signed-off-by: Marc Zyngier <marc.zyngier@arm.com> Signed-off-by: Bjorn Helgaas <bhelgaas@google.com> Reviewed-by: Rob Herring <robh@kernel.org> Acked-by: Will Deacon <will.deacon@arm.com>
Diffstat (limited to 'arch/powerpc/platforms/pseries/setup.c')
0 files changed, 0 insertions, 0 deletions