[<prev] [next>] [day] [month] [year] [list]
Message-ID: <tip-3fxjy46h2tr9pl0spv7tems6@git.kernel.org>
Date: Fri, 6 Jul 2012 04:20:57 -0700
From: tip-bot for Peter Huewe <peterhuewe@....de>
To: linux-tip-commits@...r.kernel.org
Cc: linux-kernel@...r.kernel.org, hpa@...or.com, mingo@...nel.org,
rostedt@...dmis.org, peterhuewe@....de, tglx@...utronix.de,
namhyung@...nel.org
Subject: [tip:perf/core] tools lib traceevent:
Add missing break in make_bprint_args
Commit-ID: c9bbabe32a231b5caa8c42fa6783405346983c59
Gitweb: http://git.kernel.org/tip/c9bbabe32a231b5caa8c42fa6783405346983c59
Author: Peter Huewe <peterhuewe@....de>
AuthorDate: Tue, 24 Apr 2012 23:19:40 +0200
Committer: Namhyung Kim <namhyung@...nel.org>
CommitDate: Wed, 4 Jul 2012 13:40:31 +0900
tools lib traceevent: Add missing break in make_bprint_args
In the current code we assign vsize=8 and then fall through to the
default and assign vsize=1. -> probably the break is missing here,
otherwise we can remove the case.
Signed-off-by: Peter Huewe <peterhuewe@....de>
Signed-off-by: Steven Rostedt <rostedt@...dmis.org>
Link: http://lkml.kernel.org/n/tip-3fxjy46h2tr9pl0spv7tems6@git.kernel.org
Signed-off-by: Namhyung Kim <namhyung@...nel.org>
---
tools/lib/traceevent/event-parse.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/tools/lib/traceevent/event-parse.c b/tools/lib/traceevent/event-parse.c
index 8630160..f880db4 100644
--- a/tools/lib/traceevent/event-parse.c
+++ b/tools/lib/traceevent/event-parse.c
@@ -3594,6 +3594,7 @@ static struct print_arg *make_bprint_args(char *fmt, void *data, int size, struc
break;
case 2:
vsize = 8;
+ break;
default:
vsize = ls; /* ? */
break;
--
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