Skip to contentSkip to conversation

one extra (incorrect) test in mask_ack_irq()

PATCH Applied Frank Rowand 2 participants 2 messages Mar 19, 2009 IRQ

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 one extra (incorrect) test in mask_ack_irq()

preempt-irqs-core.patch added an incorrect check for the existence of desc->chip->ack to mask_ack_irq()

kernel/irq/chip.c +0 -1
@@ -293,7 +293,6 @@ static inline void mask_ack_irq(struct i
 	if (desc->chip->mask_ack)
 		desc->chip->mask_ack(irq);
 	else {
-		if (desc->chip->ack)
 		if (desc->chip->mask)
 			desc->chip->mask(irq);
 		if (desc->chip->ack)
#1 lore raw

Frank,

Quoted 2 lines · Frank Rowand

preempt-irqs-core.patch added an incorrect check for the existence of desc->chip->ack to mask_ack_irq()

Applied. Thanks,

tglx