All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] libxl: Fix passing of application data to timeout_deregister hook
@ 2012-11-15  2:03 Jim Fehlig
  2012-11-15 10:26 ` Ian Campbell
  0 siblings, 1 reply; 4+ messages in thread
From: Jim Fehlig @ 2012-11-15  2:03 UTC (permalink / raw)
  To: xen-devel

When deregistering a timeout, the address of application data was
being passed to the timeout_deregister hook instead of the data
itself.

    Signed-off-by: Jim Fehlig <jfehlig@suse.com>
---
 tools/libxl/libxl_event.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/tools/libxl/libxl_event.c b/tools/libxl/libxl_event.c
index 41fd5bb..72cb723 100644
--- a/tools/libxl/libxl_event.c
+++ b/tools/libxl/libxl_event.c
@@ -184,7 +184,7 @@ static int time_register_finite(libxl__gc *gc, libxl__ev_time *ev,
 static void time_deregister(libxl__gc *gc, libxl__ev_time *ev)
 {
     if (!ev->infinite) {
-        OSEVENT_HOOK_VOID(timeout_deregister, &ev->for_app_reg);
+        OSEVENT_HOOK_VOID(timeout_deregister, ev->for_app_reg);
         LIBXL_TAILQ_REMOVE(&CTX->etimes, ev, entry);
     }
 }
-- 
1.7.7

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

* Re: [PATCH] libxl: Fix passing of application data to timeout_deregister hook
  2012-11-15  2:03 [PATCH] libxl: Fix passing of application data to timeout_deregister hook Jim Fehlig
@ 2012-11-15 10:26 ` Ian Campbell
  2012-11-15 15:09   ` Jim Fehlig
  2012-11-16 15:56   ` Ian Jackson
  0 siblings, 2 replies; 4+ messages in thread
From: Ian Campbell @ 2012-11-15 10:26 UTC (permalink / raw)
  To: Jim Fehlig; +Cc: xen-devel, Ian Jackson

On Thu, 2012-11-15 at 02:03 +0000, Jim Fehlig wrote:
> When deregistering a timeout, the address of application data was
> being passed to the timeout_deregister hook instead of the data
> itself.
> 
>     Signed-off-by: Jim Fehlig <jfehlig@suse.com>

Acked + applied, thanks.

Ian, this should be a candidate for the next 4.2.1 rc IMHO.

> ---
>  tools/libxl/libxl_event.c |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)
> 
> diff --git a/tools/libxl/libxl_event.c b/tools/libxl/libxl_event.c
> index 41fd5bb..72cb723 100644
> --- a/tools/libxl/libxl_event.c
> +++ b/tools/libxl/libxl_event.c
> @@ -184,7 +184,7 @@ static int time_register_finite(libxl__gc *gc, libxl__ev_time *ev,
>  static void time_deregister(libxl__gc *gc, libxl__ev_time *ev)
>  {
>      if (!ev->infinite) {
> -        OSEVENT_HOOK_VOID(timeout_deregister, &ev->for_app_reg);
> +        OSEVENT_HOOK_VOID(timeout_deregister, ev->for_app_reg);
>          LIBXL_TAILQ_REMOVE(&CTX->etimes, ev, entry);
>      }
>  }

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

* Re: [PATCH] libxl: Fix passing of application data to timeout_deregister hook
  2012-11-15 10:26 ` Ian Campbell
@ 2012-11-15 15:09   ` Jim Fehlig
  2012-11-16 15:56   ` Ian Jackson
  1 sibling, 0 replies; 4+ messages in thread
From: Jim Fehlig @ 2012-11-15 15:09 UTC (permalink / raw)
  To: Ian Campbell; +Cc: xen-devel, Ian Jackson

On 11/15/2012 03:26 AM, Ian Campbell wrote:
> On Thu, 2012-11-15 at 02:03 +0000, Jim Fehlig wrote:
>> When deregistering a timeout, the address of application data was
>> being passed to the timeout_deregister hook instead of the data
>> itself.
>>
>>      Signed-off-by: Jim Fehlig <jfehlig@suse.com>
> Acked + applied, thanks.
>
> Ian, this should be a candidate for the next 4.2.1 rc IMHO.

Yes, that would be much appreciated.  Thanks!

Regards,
Jim

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

* Re: [PATCH] libxl: Fix passing of application data to timeout_deregister hook
  2012-11-15 10:26 ` Ian Campbell
  2012-11-15 15:09   ` Jim Fehlig
@ 2012-11-16 15:56   ` Ian Jackson
  1 sibling, 0 replies; 4+ messages in thread
From: Ian Jackson @ 2012-11-16 15:56 UTC (permalink / raw)
  To: Ian Campbell; +Cc: Jim Fehlig, xen-devel

Ian Campbell writes ("Re: [Xen-devel] [PATCH] libxl: Fix passing of application data to timeout_deregister hook"):
> On Thu, 2012-11-15 at 02:03 +0000, Jim Fehlig wrote:
> > When deregistering a timeout, the address of application data was
> > being passed to the timeout_deregister hook instead of the data
> > itself.
> > 
> >     Signed-off-by: Jim Fehlig <jfehlig@suse.com>
> 
> Acked + applied, thanks.
> 
> Ian, this should be a candidate for the next 4.2.1 rc IMHO.

I have pushed it to 4.2-testing.hg.

Ian.

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

end of thread, other threads:[~2012-11-16 15:56 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-11-15  2:03 [PATCH] libxl: Fix passing of application data to timeout_deregister hook Jim Fehlig
2012-11-15 10:26 ` Ian Campbell
2012-11-15 15:09   ` Jim Fehlig
2012-11-16 15:56   ` Ian Jackson

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.