diff options
author | Paul E. McKenney <paulmck@linux.vnet.ibm.com> | 2018-07-07 17:35:22 -0700 |
---|---|---|
committer | Paul E. McKenney <paulmck@linux.vnet.ibm.com> | 2018-08-29 09:20:48 -0700 |
commit | e746b558572efbad250e35e582a32ecabc9e9316 (patch) | |
tree | b4a8500e2e8546ac1d3a4ddd48508be3c68853bc /tools/testing/selftests/rcutorture/configs/rcu | |
parent | rcutorture: Force occasional reader waits (diff) | |
download | linux-dev-e746b558572efbad250e35e582a32ecabc9e9316.tar.xz linux-dev-e746b558572efbad250e35e582a32ecabc9e9316.zip |
rcutorture: Warn on bad torture type for built-in tests
When running a built-in rcutorture test, specifying an invalid torture
type results in what looks like a hard hang, with the error messages
hidden by other boot-time output. This commit therefore executes a
WARN_ON() in this case so that the splat appears just following the
error messages.
Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Diffstat (limited to 'tools/testing/selftests/rcutorture/configs/rcu')
0 files changed, 0 insertions, 0 deletions