summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul E. McKenney <paulmck@linux.vnet.ibm.com>2016-03-21 15:36:40 -0700
committerPaul E. McKenney <paulmck@linux.vnet.ibm.com>2016-03-31 13:39:52 -0700
commit9eb5188a0704bd21eb7e4aef83b904fad43d3ec8 (patch)
tree5c210863d2c9c73f78537ea01ff85b297be6160c
parentde26ca19a530d2d822a6816834d22022e94b2e53 (diff)
torture: Clarify refusal to run more than one torture test
This commit clarifies error messages -- you only get to run one torture test at a time! Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
-rw-r--r--kernel/torture.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/kernel/torture.c b/kernel/torture.c
index 44aa462d033f..e912ccd960f0 100644
--- a/kernel/torture.c
+++ b/kernel/torture.c
@@ -602,8 +602,9 @@ bool torture_init_begin(char *ttype, bool v, int *runnable)
{
mutex_lock(&fullstop_mutex);
if (torture_type != NULL) {
- pr_alert("torture_init_begin: refusing %s init: %s running",
+ pr_alert("torture_init_begin: Refusing %s init: %s running.\n",
ttype, torture_type);
+ pr_alert("torture_init_begin: One torture test at a time!\n");
mutex_unlock(&fullstop_mutex);
return false;
}