]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitc5dcb8d6fbc959a0e65fc9924fb0c2a036647230
tree7fa81c83037fbd69f6b4c2014cc69bdc7f9bdbf2
parentea095ba8430abd8133a769933b7a15ee85eeb371
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