Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit e746b558 authored by Paul E. McKenney's avatar Paul E. McKenney
Browse files

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: default avatarPaul E. McKenney <paulmck@linux.vnet.ibm.com>
parent 444da518
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