summaryrefslogtreecommitdiffstats
path: root/drivers/hv/vmbus_drv.c
diff options
context:
space:
mode:
authorGerd Hoffmann <kraxel@redhat.com>2014-02-24 14:17:08 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2014-02-25 01:15:05 +0100
commit4eb923f8787fabbbc450364d34ebe69813448862 (patch)
tree959eb8987c7d25371fb146479827243f258fe862 /drivers/hv/vmbus_drv.c
parentMerge 3.14-rc4 into char-misc-next (diff)
downloadlinux-4eb923f8787fabbbc450364d34ebe69813448862.tar.xz
linux-4eb923f8787fabbbc450364d34ebe69813448862.zip
vmbus: add missing breaks
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/hv/vmbus_drv.c')
-rw-r--r--drivers/hv/vmbus_drv.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/hv/vmbus_drv.c b/drivers/hv/vmbus_drv.c
index b37c91b6ba80..2352ae481e87 100644
--- a/drivers/hv/vmbus_drv.c
+++ b/drivers/hv/vmbus_drv.c
@@ -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;