From: Tomas Hruby Date: Tue, 20 Dec 2011 08:01:21 +0000 (+0000) Subject: ACPI extended irq - fixed uninitialized variable X-Git-Tag: v3.2.0~169 X-Git-Url: http://zhaoyanbai.com/repos/icons/debian/static/datamaps.china.min.js?a=commitdiff_plain;h=b73089ce3eb661d44156b6b02cdc0d1490340f54;p=minix.git ACPI extended irq - fixed uninitialized variable --- diff --git a/drivers/acpi/pci.c b/drivers/acpi/pci.c index d4ae05609..fced2d8fd 100644 --- a/drivers/acpi/pci.c +++ b/drivers/acpi/pci.c @@ -157,6 +157,7 @@ PRIVATE ACPI_STATUS get_irq_resource(ACPI_RESOURCE *res, void *context) } else if (res->Type == ACPI_RESOURCE_TYPE_EXTENDED_IRQ) { ACPI_RESOURCE_EXTENDED_IRQ *irq; + irq = &res->Data.ExtendedIrq; add_irq(ires->bridge, ires->tbl->Address >> 16, ires->tbl->Pin, irq->Interrupts[ires->tbl->SourceIndex]); }