diff options
-rw-r--r-- | kernel/rcutorture.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/kernel/rcutorture.c b/kernel/rcutorture.c index 14480e8b2a24..3dd0ca23e191 100644 --- a/kernel/rcutorture.c +++ b/kernel/rcutorture.c | |||
@@ -1129,8 +1129,12 @@ rcu_torture_init(void) | |||
1129 | break; | 1129 | break; |
1130 | } | 1130 | } |
1131 | if (i == ARRAY_SIZE(torture_ops)) { | 1131 | if (i == ARRAY_SIZE(torture_ops)) { |
1132 | printk(KERN_ALERT "rcutorture: invalid torture type: \"%s\"\n", | 1132 | printk(KERN_ALERT "rcu-torture: invalid torture type: \"%s\"\n", |
1133 | torture_type); | 1133 | torture_type); |
1134 | printk(KERN_ALERT "rcu-torture types:"); | ||
1135 | for (i = 0; i < ARRAY_SIZE(torture_ops); i++) | ||
1136 | printk(KERN_ALERT " %s", torture_ops[i]->name); | ||
1137 | printk(KERN_ALERT "\n"); | ||
1134 | mutex_unlock(&fullstop_mutex); | 1138 | mutex_unlock(&fullstop_mutex); |
1135 | return -EINVAL; | 1139 | return -EINVAL; |
1136 | } | 1140 | } |