Re: [PATCH v3 1/4] vmbus: add missing breaks

From
Tomi Valkeinen <hidden>
Date
2014-02-28 09:06:13
Also in
lkml
Reply to
Gerd Hoffmann, 2014-02-24
On 24/02/14 15:17, Gerd Hoffmann wrote:
quoted hunk ↗ jump to hunk
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
---
 drivers/hv/vmbus_drv.c | 2 ++
 1 file changed, 2 insertions(+)
diff --git a/drivers/hv/vmbus_drv.c b/drivers/hv/vmbus_drv.c
index b37c91b..2352ae48 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;
Why is this sent to fbdev list? Is this related to the hyperv-fb patches?

 Tomi

Attachments

Thread (10 messages) 10 messages, 4 authors, 2014-02-28
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help