Paul E. McKenney 4a230f8046 srcu: Avoid NULL dereference in srcu_torture_stats_print()
You really shouldn't invoke srcu_torture_stats_print() after invoking
cleanup_srcu_struct(), but there is really no reason to get a
compiler-obfuscated per-CPU-variable NULL pointer dereference as the
diagnostic.  This commit therefore checks for NULL ->sda and makes a
more polite console-message complaint in that case.

Co-developed-by: Neeraj Upadhyay <quic_neeraju@quicinc.com>
Signed-off-by: Neeraj Upadhyay <quic_neeraju@quicinc.com>
Signed-off-by: Paul E. McKenney <paulmck@kernel.org>
2022-04-11 15:52:30 -07:00
..
2020-08-24 18:39:24 -07:00
2021-12-07 16:36:17 -08:00
2021-05-12 12:11:05 -07:00
2022-03-22 14:39:12 -07:00
2021-05-10 16:03:35 -07:00
2022-03-22 14:39:12 -07:00
2022-03-21 14:00:56 -07:00