diff options
author | Al Viro <viro@ftp.linux.org.uk> | 2007-07-15 21:59:41 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-07-16 01:40:51 +0200 |
commit | 0e81c666dbf95546b3d9ea6ff7d29ea19b988950 (patch) | |
tree | 09221f00db39a084089adb170de40f63e27bf19d /arch | |
parent | wrong order of arguments of ->readdir() (diff) | |
download | linux-0e81c666dbf95546b3d9ea6ff7d29ea19b988950.tar.xz linux-0e81c666dbf95546b3d9ea6ff7d29ea19b988950.zip |
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.c | 2 |
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) 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; } |