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

From: Steven Rostedt
Date: Mon Apr 23 2012 - 14:38:30 EST


On Mon, 2012-04-23 at 13:58 +0900, Namhyung Kim wrote:
> 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.

Ouch!

Applied, thanks!

-- Steve

>
> 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);


--
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/