projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0fed483
)
tools lib traceevent: Add missing break in make_bprint_args
author
Peter Huewe
<peterhuewe@gmx.de>
Tue, 24 Apr 2012 21:19:40 +0000
(23:19 +0200)
committer
Namhyung Kim
<namhyung@kernel.org>
Wed, 4 Jul 2012 04:40:31 +0000
(13:40 +0900)
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@gmx.de>
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
Link:
http://lkml.kernel.org/n/tip-3fxjy46h2tr9pl0spv7tems6@git.kernel.org
Signed-off-by: Namhyung Kim <namhyung@kernel.org>
tools/lib/traceevent/event-parse.c
patch
|
blob
|
blame
|
history
diff --git
a/tools/lib/traceevent/event-parse.c
b/tools/lib/traceevent/event-parse.c
index 863016040dd6974699f81e9927600c14055e921d..f880db45784281dd5210a57b4c85f41d882b6193 100644
(file)
--- 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;