All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 1/1] Drivers: hv: vmbus: Fix a bug in getting ACPI specified resources
@ 2014-02-20 23:45 K. Y. Srinivasan
  2014-02-20 23:06 ` Greg KH
  2014-02-20 23:47 ` Greg KH
  0 siblings, 2 replies; 10+ messages in thread
From: K. Y. Srinivasan @ 2014-02-20 23:45 UTC (permalink / raw)
  To: gregkh, linux-kernel, devel; +Cc: K. Y. Srinivasan

Fix a bug in the resource walking code.

Signed-off-by: K. Y. Srinivasan <kys@microsoft.com>
---
 drivers/hv/vmbus_drv.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

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;
-- 
1.7.4.1


^ permalink raw reply related	[flat|nested] 10+ messages in thread
* [PATCH 1/1] Drivers: hv: vmbus: Fix a bug in getting ACPI specified resources
@ 2014-02-21  4:06 K. Y. Srinivasan
  0 siblings, 0 replies; 10+ messages in thread
From: K. Y. Srinivasan @ 2014-02-21  4:06 UTC (permalink / raw)
  To: gregkh, linux-kernel, devel; +Cc: K. Y. Srinivasan

Fix a bug in the resource walking code. This patch depends on
commit number: 90f3453585479d5beb75058da46eb573ced0e6ac

Signed-off-by: K. Y. Srinivasan <kys@microsoft.com>
---
 drivers/hv/vmbus_drv.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

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;
-- 
1.7.4.1


^ permalink raw reply related	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2014-02-21  3:14 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-02-20 23:45 [PATCH 1/1] Drivers: hv: vmbus: Fix a bug in getting ACPI specified resources K. Y. Srinivasan
2014-02-20 23:06 ` Greg KH
2014-02-20 23:35   ` KY Srinivasan
2014-02-20 23:47 ` Greg KH
2014-02-20 23:46   ` KY Srinivasan
2014-02-21  0:19   ` KY Srinivasan
2014-02-21  1:00     ` KY Srinivasan
2014-02-21  2:21     ` Greg KH
2014-02-21  3:10       ` KY Srinivasan
2014-02-21  4:06 K. Y. Srinivasan

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.