powerpc/pci: Fix bogus message at boot about empty memory resources
authorBenjamin Herrenschmidt <benh@kernel.crashing.org>
Mon, 20 May 2013 17:24:39 +0000 (17:24 +0000)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Fri, 24 May 2013 08:13:44 +0000 (18:13 +1000)
commitbee7dd9c5fd5ab944e2e0ef3b92905fcbc993768
treeea46f4e4fdf9bfa86841a801c853a33a75614cfa
parent8fc1f5d7eff9a4ed0cdb7215e7ca4b82b931d6d7
powerpc/pci: Fix bogus message at boot about empty memory resources

The message is only meant to be displayed if resource 0 is empty,
but was displayed if any is.

Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
arch/powerpc/kernel/pci-common.c