Skip to content

Commit dbdc3bb

Browse files
committed
Merge tag 'acpi-4.7-rc6' of git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm
Pull ACPI fix from Rafael Wysocki: "Fix an expression in the ACPI PCI IRQ management code added by a recent commit that overlooked missing parens in it, so the result of the computation is incorrect in some cases (Sinan Kaya)" * tag 'acpi-4.7-rc6' of git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm: ACPI,PCI,IRQ: correct operator precedence
2 parents 81dbd6f + 5479458 commit dbdc3bb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/acpi/pci_link.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -839,7 +839,7 @@ void acpi_penalize_isa_irq(int irq, int active)
839839
{
840840
if ((irq >= 0) && (irq < ARRAY_SIZE(acpi_isa_irq_penalty)))
841841
acpi_isa_irq_penalty[irq] = acpi_irq_get_penalty(irq) +
842-
active ? PIRQ_PENALTY_ISA_USED : PIRQ_PENALTY_PCI_USING;
842+
(active ? PIRQ_PENALTY_ISA_USED : PIRQ_PENALTY_PCI_USING);
843843
}
844844

845845
bool acpi_isa_irq_available(int irq)

0 commit comments

Comments
 (0)