Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Linux: Kernel

[PATCH 15/20] tools lib traceevent: Add missing break in make_bprint_args

 

 

Linux kernel RSS feed   Index | Next | Previous | View Threaded


acme at infradead

Jul 5, 2012, 8:45 AM

Post #1 of 1 (40 views)
Permalink
[PATCH 15/20] tools lib traceevent: Add missing break in make_bprint_args

From: Peter Huewe <peterhuewe [at] gmx>

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 [at] gmx>
Signed-off-by: Steven Rostedt <rostedt [at] goodmis>
Link: http://lkml.kernel.org/n/tip-3fxjy46h2tr9pl0spv7tems6 [at] git
Signed-off-by: Namhyung Kim <namhyung [at] kernel>
---
tools/lib/traceevent/event-parse.c | 1 +
1 file changed, 1 insertion(+)

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;
--
1.7.9.2.358.g22243

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

Linux kernel RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.