[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20120406112441.GA30425@liondog.tnic>
Date: Fri, 6 Apr 2012 13:24:41 +0200
From: Borislav Petkov <bp@...en8.de>
To: Frederic Weisbecker <fweisbec@...il.com>
Cc: LKML <linux-kernel@...r.kernel.org>, Julia Lawall <julia@...u.dk>,
Steven Rostedt <rostedt@...dmis.org>,
Ingo Molnar <mingo@...nel.org>,
Thomas Gleixner <tglx@...utronix.de>,
Peter Zijlstra <peterz@...radead.org>,
Arnaldo Carvalho de Melo <acme@...radead.org>,
Jiri Olsa <jolsa@...hat.com>, Arun Sharma <asharma@...com>,
Namhyung Kim <namhyung.kim@....com>
Subject: Re: [PATCH 08/15] perf/events: Correct size given to memset
On Fri, Apr 06, 2012 at 12:47:59AM +0200, Frederic Weisbecker wrote:
> From: Julia Lawall <julia@...u.dk>
>
> This is a forward port of commit 5660ce34241ab
> perf tools: Correct size given to memset
> written by Julia Lawall and forward ported by Steven Rostedt.
>
> Signed-off-by: Julia Lawall <julia@...u.dk>
> Signed-off-by: Steven Rostedt <rostedt@...dmis.org>
> Cc: Ingo Molnar <mingo@...nel.org>
> Cc: Thomas Gleixner <tglx@...utronix.de>
> Cc: Peter Zijlstra <peterz@...radead.org>
> Cc: Arnaldo Carvalho de Melo <acme@...radead.org>
> Cc: Steven Rostedt <rostedt@...dmis.org>
> Cc: Borislav Petkov <bp@...en8.de>
> Cc: Jiri Olsa <jolsa@...hat.com>
> Cc: Arun Sharma <asharma@...com>
> Cc: Namhyung Kim <namhyung.kim@....com>
> Signed-off-by: Frederic Weisbecker <fweisbec@...il.com>
> ---
> tools/lib/traceevent/event-parse.c | 2 +-
> 1 files changed, 1 insertions(+), 1 deletions(-)
>
> diff --git a/tools/lib/traceevent/event-parse.c b/tools/lib/traceevent/event-parse.c
> index f012395..16da20c 100644
> --- a/tools/lib/traceevent/event-parse.c
> +++ b/tools/lib/traceevent/event-parse.c
> @@ -2076,7 +2076,7 @@ process_fields(struct event_format *event, struct print_flag_sym **list, char **
> goto out_free;
>
> field = malloc_or_die(sizeof(*field));
> - memset(field, 0, sizeof(field));
> + memset(field, 0, sizeof(*field));
This one is already upstream, you can drop it: 5660ce34241ab
--
Regards/Gruss,
Boris.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists