aboutsummaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorAl Viro <viro@ftp.linux.org.uk>2007-07-15 15:59:41 -0400
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2007-07-15 19:40:51 -0400
commit0e81c666dbf95546b3d9ea6ff7d29ea19b988950 (patch)
tree09221f00db39a084089adb170de40f63e27bf19d /arch
parent7c9e3c2e3b0437d10a09b77769baf325b94aa436 (diff)
the wrong variable checked after request_irq()
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk> Acked-by: Benjamin Herrenschmidt <benh@kernel.crashing.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'arch')
-rw-r--r--arch/powerpc/platforms/pseries/setup.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/powerpc/platforms/pseries/setup.c b/arch/powerpc/platforms/pseries/setup.c
index 470db6efaeb6..a031d99becb7 100644
--- a/arch/powerpc/platforms/pseries/setup.c
+++ b/arch/powerpc/platforms/pseries/setup.c
@@ -176,7 +176,7 @@ static void __init pseries_mpic_init_IRQ(void)
176 return; 176 return;
177 177
178 cascade_irq = irq_of_parse_and_map(cascade, 0); 178 cascade_irq = irq_of_parse_and_map(cascade, 0);
179 if (cascade == NO_IRQ) { 179 if (cascade_irq == NO_IRQ) {
180 printk(KERN_ERR "mpic: failed to map cascade interrupt"); 180 printk(KERN_ERR "mpic: failed to map cascade interrupt");
181 return; 181 return;
182 } 182 }