Skip to content

Commit 8940117

Browse files
Neeraj Upadhyaypaulmckrcu
authored andcommitted
rcu-tasks: Correct firstreport usage in check_all_holdout_tasks_trace
In check_all_holdout_tasks_trace(), firstreport is a pointer argument; so, check the dereferenced value, instead of checking the pointer. Signed-off-by: Neeraj Upadhyay <[email protected]> Signed-off-by: Paul E. McKenney <[email protected]>
1 parent d0a8585 commit 8940117

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

kernel/rcu/tasks.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1129,7 +1129,7 @@ static void check_all_holdout_tasks_trace(struct list_head *hop,
11291129
cpus_read_unlock();
11301130

11311131
if (needreport) {
1132-
if (firstreport)
1132+
if (*firstreport)
11331133
pr_err("INFO: rcu_tasks_trace detected stalls? (Late IPI?)\n");
11341134
show_stalled_ipi_trace();
11351135
}

0 commit comments

Comments
 (0)