summaryrefslogtreecommitdiff
path: root/kernel/torture.c
diff options
context:
space:
mode:
authorPaul E. McKenney <paulmck@linux.vnet.ibm.com>2014-03-03 16:51:08 -0800
committerPaul E. McKenney <paulmck@linux.vnet.ibm.com>2014-05-14 09:45:58 -0700
commit589a8f59509dc4c68f9c1e2522c5b0b556009221 (patch)
treebfd54dddc6ffaf7500b73c7f46a192d0e87634bf /kernel/torture.c
parent14d9d84c9e9b54e02ea69ab5cb6e2114f3639160 (diff)
rcutorture: Print negatives for SRCU counter wraparound
The srcu_torture_stats() function prints SRCU's per-CPU c[] array with an unsigned format, which means that the number one less than zero is a very large number. This commit therefore prints this array with a signed format in order to improve readability of the rcutorture output. Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com> Reviewed-by: Josh Triplett <josh@joshtriplett.org>
Diffstat (limited to 'kernel/torture.c')
0 files changed, 0 insertions, 0 deletions