qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH 1/2] trace-events: Rename 'next' argument
@ 2012-03-12  9:34 Kevin Wolf
  2012-03-12  9:34 ` [Qemu-devel] [PATCH 2/2] tracetool: Forbid argument name 'next' Kevin Wolf
  0 siblings, 1 reply; 5+ messages in thread
From: Kevin Wolf @ 2012-03-12  9:34 UTC (permalink / raw)
  To: stefanha; +Cc: kwolf, qemu-devel

'next' is a systemtap keyword, so it's a bad idea to use it as an
argument name.

Signed-off-by: Kevin Wolf <kwolf@redhat.com>
---
 trace-events |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/trace-events b/trace-events
index 606d903..2a96353 100644
--- a/trace-events
+++ b/trace-events
@@ -530,7 +530,7 @@ qemu_coroutine_terminate(void *co) "self %p"
 
 # qemu-coroutine-lock.c
 qemu_co_queue_next_bh(void) ""
-qemu_co_queue_next(void *next) "next %p"
+qemu_co_queue_next(void *nxt) "next %p"
 qemu_co_mutex_lock_entry(void *mutex, void *self) "mutex %p self %p"
 qemu_co_mutex_lock_return(void *mutex, void *self) "mutex %p self %p"
 qemu_co_mutex_unlock_entry(void *mutex, void *self) "mutex %p self %p"
-- 
1.7.6.5

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

end of thread, other threads:[~2012-03-12 12:18 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-03-12  9:34 [Qemu-devel] [PATCH 1/2] trace-events: Rename 'next' argument Kevin Wolf
2012-03-12  9:34 ` [Qemu-devel] [PATCH 2/2] tracetool: Forbid argument name 'next' Kevin Wolf
2012-03-12 11:01   ` Stefan Hajnoczi
2012-03-12 11:09     ` Kevin Wolf
2012-03-12 12:16     ` Lluís Vilanova

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).