[SPARC64]: Check of_get_property() return in pci_determine_mem_io_space().
authorDavid S. Miller <davem@sunset.davemloft.net>
Tue, 16 Oct 2007 03:45:32 +0000 (20:45 -0700)
committerDavid S. Miller <davem@sunset.davemloft.net>
Wed, 17 Oct 2007 23:25:10 +0000 (16:25 -0700)
commit4209ab098c61b1a9684bb4d3fc287352fc2438c3
tree5f8862485df17c6ab87cb8396280f14ab03a3e9b
parent719023fb90009855c4515a16349fc6d0a2f93a74
[SPARC64]: Check of_get_property() return in pci_determine_mem_io_space().

If the PCI controller lacks the 'ranges' property nothing
is going to work.

Noticed by Al Viro.

Signed-off-by: David S. Miller <davem@davemloft.net>
arch/sparc64/kernel/pci_common.c