powerpc: Fix oops on some machines due to incorrect pr_debug()
authorBenjamin Herrenschmidt <benh@kernel.crashing.org>
Sun, 1 Feb 2009 17:03:59 +0000 (17:03 +0000)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Mon, 2 Feb 2009 06:08:25 +0000 (17:08 +1100)
commit59b608c2c33feacc8be281ec3ba9ca2a3a5cb9a7
tree7fa81c83037fbd69f6b4c2014cc69bdc7f9bdbf2
parent309ea626b164f2abba8e639b3eb6f2e5d34708b9
powerpc: Fix oops on some machines due to incorrect pr_debug()

Recently, a patch left DEBUG enabled in the powerpc common PCI code,
resulting in an old bug in a pr_debug() statement to show up and cause
a NULL dereference on some machines.

This fixes the pr_debug() statement and reverts to DEBUG not being
force-enabled in that file.

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