powerpc: eeh: Fixup the brown paperbag fallout of the "cleanup"
authorThomas Gleixner <tglx@linutronix.de>
Tue, 4 Mar 2014 23:06:11 +0000 (00:06 +0100)
committerThomas Gleixner <tglx@linutronix.de>
Tue, 4 Mar 2014 23:13:33 +0000 (00:13 +0100)
Commit b8a9a11b9 (powerpc: eeh: Kill another abuse of irq_desc) is
missing some brackets .....

It's not a good idea to write patches in grumpy mode and then forget
to at least compile test them or rely on the few eyeballs discussing
that patch to spot it.....

Reported-by: fengguang.wu@intel.com
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Gavin Shan <shangw@linux.vnet.ibm.com>
Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Cc: ppc <linuxppc-dev@lists.ozlabs.org>
arch/powerpc/kernel/eeh_driver.c

index 3e1d7de6ea40c8953d9f1801c09cf9bc85ad44fd..bb61ca58ca6d8272955d7023852f97cbe180c676 100644 (file)
@@ -166,8 +166,9 @@ static void eeh_enable_irq(struct pci_dev *dev)
                 *
                 *      tglx
                 */
-               if (irqd_irq_disabled(irq_get_irq_data(dev->irq))
+               if (irqd_irq_disabled(irq_get_irq_data(dev->irq)))
                        enable_irq(dev->irq);
+       }
 }
 
 /**