rcutorture: Stop right-shifting torture_random() return values
authorPaul E. McKenney <paulmck@kernel.org>
Wed, 12 Jul 2023 23:16:37 +0000 (16:16 -0700)
committerPaul E. McKenney <paulmck@kernel.org>
Mon, 14 Aug 2023 22:01:08 +0000 (15:01 -0700)
commitbc19e86e285f679d39e1671e72e2f02ac04de999
tree4e6eecb61d1790a580762e4f27fb50979dd13cc6
parent6cab60ceb1d32b795ae22fea5719fb6150e4cda9
rcutorture: Stop right-shifting torture_random() return values

Now that torture_random() uses swahw32(), its callers no longer see
not-so-random low-order bits, as these are now swapped up into the upper
16 bits of the torture_random() function's return value.  This commit
therefore removes the right-shifting of torture_random() return values.

Signed-off-by: Paul E. McKenney <paulmck@kernel.org>
kernel/rcu/rcutorture.c