[PATCH 05/11] parse-events: Use proper function parameter type

From: Namhyung Kim
Date: Mon Apr 23 2012 - 01:02:28 EST


The param needs to be updated when setting args up so that
the loop in process_defined_func() can see the correct
param->type for the farg.

Signed-off-by: Namhyung Kim <namhyung.kim@xxxxxxx>
---
parse-events.c | 1 +
1 file changed, 1 insertion(+)

diff --git a/parse-events.c b/parse-events.c
index 3e5ac44..b7c81d8 100644
--- a/parse-events.c
+++ b/parse-events.c
@@ -3396,6 +3396,7 @@ process_defined_func(struct trace_seq *s, void *data, int size,
break;
}
farg = farg->next;
+ param = param->next;
}

ret = (*func_handle->func)(s, args);
--
1.7.10

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/