vmbus: add missing breaks
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
35efc5a425
commit
4eb923f878
|
@ -899,10 +899,12 @@ static acpi_status vmbus_walk_resources(struct acpi_resource *res, void *ctx)
|
||||||
switch (res->type) {
|
switch (res->type) {
|
||||||
case ACPI_RESOURCE_TYPE_IRQ:
|
case ACPI_RESOURCE_TYPE_IRQ:
|
||||||
irq = res->data.irq.interrupts[0];
|
irq = res->data.irq.interrupts[0];
|
||||||
|
break;
|
||||||
|
|
||||||
case ACPI_RESOURCE_TYPE_ADDRESS64:
|
case ACPI_RESOURCE_TYPE_ADDRESS64:
|
||||||
hyperv_mmio_start = res->data.address64.minimum;
|
hyperv_mmio_start = res->data.address64.minimum;
|
||||||
hyperv_mmio_size = res->data.address64.address_length;
|
hyperv_mmio_size = res->data.address64.address_length;
|
||||||
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
return AE_OK;
|
return AE_OK;
|
||||||
|
|
Loading…
Reference in New Issue