]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
the wrong variable checked after request_irq()
authorAl Viro <viro@ftp.linux.org.uk>
Sun, 15 Jul 2007 19:59:41 +0000 (20:59 +0100)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Sun, 15 Jul 2007 23:40:51 +0000 (16:40 -0700)
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>
arch/powerpc/platforms/pseries/setup.c

index 470db6efaeb635fdebbab2d93d14a7f031d58feb..a031d99becb772964adabc4d4a93f5c1ccbd68e6 100644 (file)
@@ -176,7 +176,7 @@ static void __init pseries_mpic_init_IRQ(void)
                return;
 
        cascade_irq = irq_of_parse_and_map(cascade, 0);
-       if (cascade == NO_IRQ) {
+       if (cascade_irq == NO_IRQ) {
                printk(KERN_ERR "mpic: failed to map cascade interrupt");
                return;
        }