Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1433550
| From | Sinan Kaya <okaya@codeaurora.org> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | [PATCH V2 4/4] ACPI,PCI,IRQ: correct operator precedence |
| Date | 2016-06-29 10:30 +0200 |
| Message-ID | <rPj2F-1OB-3@gated-at.bofh.it> (permalink) |
| References | <rPj2F-1OB-5@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
The omitted parenthesis prevents the addition operation when
acpi_penalize_isa_irq function is called.
Signed-off-by: Sinan Kaya <okaya@codeaurora.org>
---
drivers/acpi/pci_link.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/acpi/pci_link.c b/drivers/acpi/pci_link.c
index 8c08971..c983bf7 100644
--- a/drivers/acpi/pci_link.c
+++ b/drivers/acpi/pci_link.c
@@ -872,7 +872,7 @@ void acpi_penalize_isa_irq(int irq, int active)
{
if ((irq >= 0) && (irq < ARRAY_SIZE(acpi_isa_irq_penalty)))
acpi_isa_irq_penalty[irq] = acpi_irq_get_penalty(irq) +
- active ? PIRQ_PENALTY_ISA_USED : PIRQ_PENALTY_PCI_USING;
+ (active ? PIRQ_PENALTY_ISA_USED : PIRQ_PENALTY_PCI_USING);
}
bool acpi_isa_irq_available(int irq)
--
1.8.2.1
Back to linux.kernel | Previous | Next — Next in thread | Find similar | Unroll thread
[PATCH V2 4/4] ACPI,PCI,IRQ: correct operator precedence Sinan Kaya <okaya@codeaurora.org> - 2016-06-29 10:30 +0200
Re: [PATCH V2 4/4] ACPI,PCI,IRQ: correct operator precedence "Rafael J. Wysocki" <rafael@kernel.org> - 2016-06-29 15:20 +0200
Re: [PATCH V2 4/4] ACPI,PCI,IRQ: correct operator precedence Sinan Kaya <okaya@codeaurora.org> - 2016-06-29 20:40 +0200
Re: [PATCH V2 4/4] ACPI,PCI,IRQ: correct operator precedence "Rafael J. Wysocki" <rafael@kernel.org> - 2016-06-29 23:20 +0200
Re: [PATCH V2 4/4] ACPI,PCI,IRQ: correct operator precedence Sinan Kaya <okaya@codeaurora.org> - 2016-06-29 23:20 +0200
Re: [PATCH V2 4/4] ACPI,PCI,IRQ: correct operator precedence "Rafael J. Wysocki" <rafael@kernel.org> - 2016-06-29 23:50 +0200
csiph-web