rcutorture: Use unsigned for Reader Batch computations
authorPaul E. McKenney <paulmck@linux.vnet.ibm.com>
Fri, 21 Nov 2014 22:19:26 +0000 (14:19 -0800)
committerPaul E. McKenney <paulmck@linux.vnet.ibm.com>
Sun, 11 Jan 2015 03:07:58 +0000 (19:07 -0800)
The counter returned by the various ->completed functions is subject to
overflow, which means that subtracting two such counters might result
in overflow, which invokes undefined behavior in the C standard.  This
commit therefore changes these functions and variables to unsigned to
avoid this undefined behavior.

Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
kernel/rcu/rcutorture.c

Simple merge