From: Al Viro Date: Sun, 15 Jul 2007 19:59:41 +0000 (+0100) Subject: the wrong variable checked after request_irq() X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=0e81c666dbf95546b3d9ea6ff7d29ea19b988950;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git the wrong variable checked after request_irq() Signed-off-by: Al Viro Acked-by: Benjamin Herrenschmidt Signed-off-by: Linus Torvalds --- 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) 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; }