aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/trace/trace.c
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/trace/trace.c')
-rw-r--r--kernel/trace/trace.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/trace/trace.c b/kernel/trace/trace.c
index efe3202c0209..c0cf946d42f5 100644
--- a/kernel/trace/trace.c
+++ b/kernel/trace/trace.c
@@ -2494,7 +2494,7 @@ static int tracing_set_tracer(const char *buf)
2494 if (!ring_buffer_expanded) { 2494 if (!ring_buffer_expanded) {
2495 ret = tracing_resize_ring_buffer(trace_buf_size); 2495 ret = tracing_resize_ring_buffer(trace_buf_size);
2496 if (ret < 0) 2496 if (ret < 0)
2497 return ret; 2497 goto out;
2498 ret = 0; 2498 ret = 0;
2499 } 2499 }
2500 2500