Drivers: hv: vmbus: Fix a bug in getting ACPI specified resources
PATCH 1/1 Drivers: hv: vmbus: Fix a bug in getting ACPI specified resources
Fix a bug in the resource walking code. This patch depends on commit number: 90f3453585479d5beb75058da46eb573ced0e6ac
Signed-off-by K. Y. Srinivasan <[email protected]>
--- drivers/hv/vmbus_drv.c | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-)
drivers/hv/vmbus_drv.c +2 -0
@@ -899,10 +899,12 @@ static acpi_status vmbus_walk_resources(struct acpi_resource *res, void *ctx)switch (res->type) {case ACPI_RESOURCE_TYPE_IRQ : irq = res->data.irq.interrupts[0 ]; +break ;case ACPI_RESOURCE_TYPE_ADDRESS64 : hyperv_mmio_start = res->data.address64.minimum; hyperv_mmio_size = res->data.address64.address_length; +break ; }return AE_OK ;
Signature · 1 line
1.7.4.1