All of lore.kernel.org
 help / color / mirror / Atom feed
* Re: [PATCH 1/1] Drivers: hv: vmbus: Fix a bug in getting ACPI specified resources
  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
  1 sibling, 1 reply; 10+ messages in thread
From: Greg KH @ 2014-02-20 23:06 UTC (permalink / raw)
  To: K. Y. Srinivasan; +Cc: linux-kernel, devel

On Thu, Feb 20, 2014 at 03:45:12PM -0800, K. Y. Srinivasan wrote:
> 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(-)

Is this for 3.14-final or 3.15?

I ask this every time, someday you will let me know ahead of time...

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

* RE: [PATCH 1/1] Drivers: hv: vmbus: Fix a bug in getting ACPI specified resources
  2014-02-20 23:06 ` Greg KH
@ 2014-02-20 23:35   ` KY Srinivasan
  0 siblings, 0 replies; 10+ messages in thread
From: KY Srinivasan @ 2014-02-20 23:35 UTC (permalink / raw)
  To: Greg KH; +Cc: linux-kernel, devel



> -----Original Message-----
> From: Greg KH [mailto:gregkh@linuxfoundation.org]
> Sent: Thursday, February 20, 2014 3:06 PM
> To: KY Srinivasan
> Cc: linux-kernel@vger.kernel.org; devel@linuxdriverproject.org
> Subject: Re: [PATCH 1/1] Drivers: hv: vmbus: Fix a bug in getting ACPI specified
> resources
> 
> On Thu, Feb 20, 2014 at 03:45:12PM -0800, K. Y. Srinivasan wrote:
> > 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(-)
> 
> Is this for 3.14-final or 3.15?
> 
> I ask this every time, someday you will let me know ahead of time...

I am sorry Greg. This is for 3.14-final.

Regards,

K. Y

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

* [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

* RE: [PATCH 1/1] Drivers: hv: vmbus: Fix a bug in getting ACPI specified resources
  2014-02-20 23:47 ` Greg KH
@ 2014-02-20 23:46   ` KY Srinivasan
  2014-02-21  0:19   ` KY Srinivasan
  1 sibling, 0 replies; 10+ messages in thread
From: KY Srinivasan @ 2014-02-20 23:46 UTC (permalink / raw)
  To: Greg KH; +Cc: linux-kernel, devel



> -----Original Message-----
> From: Greg KH [mailto:gregkh@linuxfoundation.org]
> Sent: Thursday, February 20, 2014 3:47 PM
> To: KY Srinivasan
> Cc: linux-kernel@vger.kernel.org; devel@linuxdriverproject.org
> Subject: Re: [PATCH 1/1] Drivers: hv: vmbus: Fix a bug in getting ACPI specified
> resources
> 
> On Thu, Feb 20, 2014 at 03:45:12PM -0800, K. Y. Srinivasan wrote:
> > 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(-)
> 
> Fails to apply to my char-misc-next branch (if you want it in
> 3.14-final, that's where it belongs...):
> 	checking file drivers/hv/vmbus_drv.c
> 	Hunk #1 FAILED at 899.
> 	1 out of 1 hunk FAILED

I will rebase it send it to you shortly.

Thanks,

K. Y

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

* Re: [PATCH 1/1] Drivers: hv: vmbus: Fix a bug in getting ACPI specified resources
  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:47 ` Greg KH
  2014-02-20 23:46   ` KY Srinivasan
  2014-02-21  0:19   ` KY Srinivasan
  1 sibling, 2 replies; 10+ messages in thread
From: Greg KH @ 2014-02-20 23:47 UTC (permalink / raw)
  To: K. Y. Srinivasan; +Cc: linux-kernel, devel

On Thu, Feb 20, 2014 at 03:45:12PM -0800, K. Y. Srinivasan wrote:
> 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(-)

Fails to apply to my char-misc-next branch (if you want it in
3.14-final, that's where it belongs...):
	checking file drivers/hv/vmbus_drv.c
	Hunk #1 FAILED at 899.
	1 out of 1 hunk FAILED


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

* RE: [PATCH 1/1] Drivers: hv: vmbus: Fix a bug in getting ACPI specified resources
  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
  1 sibling, 2 replies; 10+ messages in thread
From: KY Srinivasan @ 2014-02-21  0:19 UTC (permalink / raw)
  To: Greg KH; +Cc: linux-kernel, devel



> -----Original Message-----
> From: Greg KH [mailto:gregkh@linuxfoundation.org]
> Sent: Thursday, February 20, 2014 3:47 PM
> To: KY Srinivasan
> Cc: linux-kernel@vger.kernel.org; devel@linuxdriverproject.org
> Subject: Re: [PATCH 1/1] Drivers: hv: vmbus: Fix a bug in getting ACPI specified
> resources
> 
> On Thu, Feb 20, 2014 at 03:45:12PM -0800, K. Y. Srinivasan wrote:
> > 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(-)
> 
> Fails to apply to my char-misc-next branch (if you want it in
> 3.14-final, that's where it belongs...):
> 	checking file drivers/hv/vmbus_drv.c
> 	Hunk #1 FAILED at 899.
> 	1 out of 1 hunk FAILED

Greg,

This patch is based on this commit:

commit 90f3453585479d5beb75058da46eb573ced0e6ac

    Signed-off-by: K. Y. Srinivasan <kys@microsoft.com>
    Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

I just got your char-misc-next branch and it does not have the needed commit.

Regards,

K. Y

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

* RE: [PATCH 1/1] Drivers: hv: vmbus: Fix a bug in getting ACPI specified resources
  2014-02-21  0:19   ` KY Srinivasan
@ 2014-02-21  1:00     ` KY Srinivasan
  2014-02-21  2:21     ` Greg KH
  1 sibling, 0 replies; 10+ messages in thread
From: KY Srinivasan @ 2014-02-21  1:00 UTC (permalink / raw)
  To: KY Srinivasan, Greg KH; +Cc: devel, linux-kernel



> -----Original Message-----
> From: driverdev-devel-bounces@linuxdriverproject.org [mailto:driverdev-devel-
> bounces@linuxdriverproject.org] On Behalf Of KY Srinivasan
> Sent: Thursday, February 20, 2014 4:19 PM
> To: Greg KH
> Cc: devel@linuxdriverproject.org; linux-kernel@vger.kernel.org
> Subject: RE: [PATCH 1/1] Drivers: hv: vmbus: Fix a bug in getting ACPI specified
> resources
> 
> 
> 
> > -----Original Message-----
> > From: Greg KH [mailto:gregkh@linuxfoundation.org]
> > Sent: Thursday, February 20, 2014 3:47 PM
> > To: KY Srinivasan
> > Cc: linux-kernel@vger.kernel.org; devel@linuxdriverproject.org
> > Subject: Re: [PATCH 1/1] Drivers: hv: vmbus: Fix a bug in getting ACPI specified
> > resources
> >
> > On Thu, Feb 20, 2014 at 03:45:12PM -0800, K. Y. Srinivasan wrote:
> > > 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(-)
> >
> > Fails to apply to my char-misc-next branch (if you want it in
> > 3.14-final, that's where it belongs...):
> > 	checking file drivers/hv/vmbus_drv.c
> > 	Hunk #1 FAILED at 899.
> > 	1 out of 1 hunk FAILED
> 
> Greg,
> 
> This patch is based on this commit:
> 
> commit 90f3453585479d5beb75058da46eb573ced0e6ac
> 
>     Signed-off-by: K. Y. Srinivasan <kys@microsoft.com>
>     Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
> 
> I just got your char-misc-next branch and it does not have the needed commit.

Greg,

The commit referenced above was checked into your char-misc.git tree on the 7th of Feb.
Can you check in this patch to the same tree. I could resend this patch.

Regards,

K. Y
> 
> Regards,
> 
> K. Y
> _______________________________________________
> devel mailing list
> devel@linuxdriverproject.org
> http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel

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

* Re: [PATCH 1/1] Drivers: hv: vmbus: Fix a bug in getting ACPI specified resources
  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
  1 sibling, 1 reply; 10+ messages in thread
From: Greg KH @ 2014-02-21  2:21 UTC (permalink / raw)
  To: KY Srinivasan; +Cc: linux-kernel, devel

On Fri, Feb 21, 2014 at 12:19:22AM +0000, KY Srinivasan wrote:
> 
> 
> > -----Original Message-----
> > From: Greg KH [mailto:gregkh@linuxfoundation.org]
> > Sent: Thursday, February 20, 2014 3:47 PM
> > To: KY Srinivasan
> > Cc: linux-kernel@vger.kernel.org; devel@linuxdriverproject.org
> > Subject: Re: [PATCH 1/1] Drivers: hv: vmbus: Fix a bug in getting ACPI specified
> > resources
> > 
> > On Thu, Feb 20, 2014 at 03:45:12PM -0800, K. Y. Srinivasan wrote:
> > > 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(-)
> > 
> > Fails to apply to my char-misc-next branch (if you want it in
> > 3.14-final, that's where it belongs...):
> > 	checking file drivers/hv/vmbus_drv.c
> > 	Hunk #1 FAILED at 899.
> > 	1 out of 1 hunk FAILED
> 
> Greg,
> 
> This patch is based on this commit:
> 
> commit 90f3453585479d5beb75058da46eb573ced0e6ac
> 
>     Signed-off-by: K. Y. Srinivasan <kys@microsoft.com>
>     Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
> 
> I just got your char-misc-next branch and it does not have the needed commit.

Then I guess this isn't 3.14-final material, right?

Please resend it when you have determined which branch it should go
into, it's out of my queue now.

greg k-h

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

* RE: [PATCH 1/1] Drivers: hv: vmbus: Fix a bug in getting ACPI specified resources
  2014-02-21  2:21     ` Greg KH
@ 2014-02-21  3:10       ` KY Srinivasan
  0 siblings, 0 replies; 10+ messages in thread
From: KY Srinivasan @ 2014-02-21  3:10 UTC (permalink / raw)
  To: Greg KH; +Cc: linux-kernel, devel



> -----Original Message-----
> From: Greg KH [mailto:gregkh@linuxfoundation.org]
> Sent: Thursday, February 20, 2014 6:21 PM
> To: KY Srinivasan
> Cc: linux-kernel@vger.kernel.org; devel@linuxdriverproject.org
> Subject: Re: [PATCH 1/1] Drivers: hv: vmbus: Fix a bug in getting ACPI specified
> resources
> 
> On Fri, Feb 21, 2014 at 12:19:22AM +0000, KY Srinivasan wrote:
> >
> >
> > > -----Original Message-----
> > > From: Greg KH [mailto:gregkh@linuxfoundation.org]
> > > Sent: Thursday, February 20, 2014 3:47 PM
> > > To: KY Srinivasan
> > > Cc: linux-kernel@vger.kernel.org; devel@linuxdriverproject.org
> > > Subject: Re: [PATCH 1/1] Drivers: hv: vmbus: Fix a bug in getting ACPI
> specified
> > > resources
> > >
> > > On Thu, Feb 20, 2014 at 03:45:12PM -0800, K. Y. Srinivasan wrote:
> > > > 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(-)
> > >
> > > Fails to apply to my char-misc-next branch (if you want it in
> > > 3.14-final, that's where it belongs...):
> > > 	checking file drivers/hv/vmbus_drv.c
> > > 	Hunk #1 FAILED at 899.
> > > 	1 out of 1 hunk FAILED
> >
> > Greg,
> >
> > This patch is based on this commit:
> >
> > commit 90f3453585479d5beb75058da46eb573ced0e6ac
> >
> >     Signed-off-by: K. Y. Srinivasan <kys@microsoft.com>
> >     Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
> >
> > I just got your char-misc-next branch and it does not have the needed commit.
> 
> Then I guess this isn't 3.14-final material, right?
> 
> Please resend it when you have determined which branch it should go
> into, it's out of my queue now.

Thanks Greg, I will resend the patch. Please apply it to char-misc.git tree.

Regards,

K. Y

^ permalink raw reply	[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.