File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -2750,7 +2750,7 @@ trace_event_buffer_lock_reserve(struct trace_buffer **current_rb,
2750
2750
/*
2751
2751
* If tracing is off, but we have triggers enabled
2752
2752
* we still need to look at the event data. Use the temp_buffer
2753
- * to store the trace event for the tigger to use. It's recusive
2753
+ * to store the trace event for the trigger to use. It's recursive
2754
2754
* safe and will not be recorded anywhere.
2755
2755
*/
2756
2756
if (!entry && trace_file -> flags & EVENT_FILE_FL_TRIGGER_COND ) {
@@ -2952,7 +2952,7 @@ static void __ftrace_trace_stack(struct trace_buffer *buffer,
2952
2952
stackidx = __this_cpu_inc_return (ftrace_stack_reserve ) - 1 ;
2953
2953
2954
2954
/* This should never happen. If it does, yell once and skip */
2955
- if (WARN_ON_ONCE (stackidx > FTRACE_KSTACK_NESTING ))
2955
+ if (WARN_ON_ONCE (stackidx >= FTRACE_KSTACK_NESTING ))
2956
2956
goto out ;
2957
2957
2958
2958
/*
You can’t perform that action at this time.
0 commit comments