Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 57310c3c authored by Thomas Gleixner's avatar Thomas Gleixner
Browse files

powerpc: eeh: Fixup the brown paperbag fallout of the "cleanup"



Commit b8a9a11b (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: default avatar <fengguang.wu@intel.com>
Signed-off-by: default avatarThomas 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>
parent 257ceab7
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -166,9 +166,10 @@ 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);
	}
}

/**
 * eeh_report_error - Report pci error to each device driver