Commit 89401176 authored by Neeraj Upadhyay's avatar Neeraj Upadhyay Committed by Paul E. McKenney

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: default avatarNeeraj Upadhyay <neeraju@codeaurora.org>
Signed-off-by: default avatarPaul E. McKenney <paulmck@kernel.org>
parent d0a85858
...@@ -1129,7 +1129,7 @@ static void check_all_holdout_tasks_trace(struct list_head *hop, ...@@ -1129,7 +1129,7 @@ static void check_all_holdout_tasks_trace(struct list_head *hop,
cpus_read_unlock(); cpus_read_unlock();
if (needreport) { if (needreport) {
if (firstreport) if (*firstreport)
pr_err("INFO: rcu_tasks_trace detected stalls? (Late IPI?)\n"); pr_err("INFO: rcu_tasks_trace detected stalls? (Late IPI?)\n");
show_stalled_ipi_trace(); show_stalled_ipi_trace();
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment