mirror of
https://gitee.com/bianbu-linux/linux-6.6
synced 2025-04-24 14:07:52 -04:00
powerpc: eeh: Fixup the brown paperbag fallout of the "cleanup"
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>
This commit is contained in:
parent
257ceab745
commit
57310c3c99
1 changed files with 2 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue