Skip to content
Commit efeff6b3 authored by Paul E. McKenney's avatar Paul E. McKenney
Browse files

rcutorture: Warn on individual rcu_torture_init() error conditions



When running rcutorture as a module, any rcu_torture_init() issues will be
reflected in the error code from modprobe or insmod, as the case may be.
However, these error codes are not available when running rcutorture
built-in, for example, when using the kvm.sh script.  This commit
therefore adds WARN_ON_ONCE() to allow distinguishing rcu_torture_init()
errors when running rcutorture built-in.

Signed-off-by: default avatarPaul E. McKenney <paulmck@kernel.org>
parent fda84866
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment