All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 1/3] util/async: avoid useless cast
@ 2019-09-27 10:32 Frediano Ziglio
  2019-09-27 10:32 ` [PATCH 2/3] event_notifier: avoid dandling file descriptor in event_notifier_cleanup Frediano Ziglio
                   ` (3 more replies)
  0 siblings, 4 replies; 12+ messages in thread
From: Frediano Ziglio @ 2019-09-27 10:32 UTC (permalink / raw)
  To: Michael Tokarev, Laurent Vivier; +Cc: qemu-trivial, Frediano Ziglio

event_notifier_dummy_cb is already compatible with EventNotifierHandler.

Signed-off-by: Frediano Ziglio <fziglio@redhat.com>
---
 util/async.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/util/async.c b/util/async.c
index 4e4c7af51e..3cdbf44503 100644
--- a/util/async.c
+++ b/util/async.c
@@ -425,7 +425,6 @@ AioContext *aio_context_new(Error **errp)
 
     aio_set_event_notifier(ctx, &ctx->notifier,
                            false,
-                           (EventNotifierHandler *)
                            event_notifier_dummy_cb,
                            event_notifier_poll);
 #ifdef CONFIG_LINUX_AIO
-- 
2.21.0



^ permalink raw reply related	[flat|nested] 12+ messages in thread
* [PATCH 1/3] util/async: avoid useless cast
@ 2019-10-23 12:26 Frediano Ziglio
  2019-10-23 13:44 ` Laurent Vivier
  2019-10-24 17:26 ` Laurent Vivier
  0 siblings, 2 replies; 12+ messages in thread
From: Frediano Ziglio @ 2019-10-23 12:26 UTC (permalink / raw)
  To: Michael Tokarev, Laurent Vivier; +Cc: qemu-trivial, qemu-devel, Frediano Ziglio

event_notifier_dummy_cb is already compatible with EventNotifierHandler.

Signed-off-by: Frediano Ziglio <fziglio@redhat.com>
---
 util/async.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/util/async.c b/util/async.c
index ca83e32c7f..b1fa5319e5 100644
--- a/util/async.c
+++ b/util/async.c
@@ -429,7 +429,6 @@ AioContext *aio_context_new(Error **errp)
 
     aio_set_event_notifier(ctx, &ctx->notifier,
                            false,
-                           (EventNotifierHandler *)
                            event_notifier_dummy_cb,
                            event_notifier_poll);
 #ifdef CONFIG_LINUX_AIO
-- 
2.21.0



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

end of thread, other threads:[~2019-10-24 17:26 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-09-27 10:32 [PATCH 1/3] util/async: avoid useless cast Frediano Ziglio
2019-09-27 10:32 ` [PATCH 2/3] event_notifier: avoid dandling file descriptor in event_notifier_cleanup Frediano Ziglio
2019-09-27 11:47   ` Laurent Vivier
2019-09-27 10:32 ` [PATCH 3/3] qemu-timer: reuse MIN macro in qemu_timeout_ns_to_ms Frediano Ziglio
2019-09-27 11:50   ` Laurent Vivier
2019-09-27 11:57     ` Frediano Ziglio
2019-09-27 12:07       ` Laurent Vivier
2019-09-27 11:43 ` [PATCH 1/3] util/async: avoid useless cast Laurent Vivier
2019-10-21 16:02 ` Laurent Vivier
  -- strict thread matches above, loose matches on Subject: below --
2019-10-23 12:26 Frediano Ziglio
2019-10-23 13:44 ` Laurent Vivier
2019-10-24 17:26 ` Laurent Vivier

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.