summaryrefslogtreecommitdiff
path: root/include/linux/rcutiny.h
diff options
context:
space:
mode:
authorPaul E. McKenney <paulmck@linux.vnet.ibm.com>2014-11-22 01:19:26 +0300
committerPaul E. McKenney <paulmck@linux.vnet.ibm.com>2015-01-11 06:07:58 +0300
commit6b80da42c02bc731ab38b6a37da5366abe26717f (patch)
tree9f0e6e658614c65a2a2df4bc2f3ae7508a6e6fce /include/linux/rcutiny.h
parent3b009c0ebe02a06d2d5bd667da0eb9cefa79321d (diff)
downloadlinux-6b80da42c02bc731ab38b6a37da5366abe26717f.tar.xz
rcutorture: Use unsigned for Reader Batch computations
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>
Diffstat (limited to 'include/linux/rcutiny.h')
0 files changed, 0 insertions, 0 deletions