torture: Include "Stopping" string to torture_kthread_stopping()
[deliverable/linux.git] / kernel / torture.c
index acc9afc2f26e4444f2cfbde9670e7d43ff3bced4..e5af6be2594db1f5857734d8277810030520fe00 100644 (file)
@@ -674,8 +674,10 @@ EXPORT_SYMBOL_GPL(torture_must_stop_irq);
  */
 void torture_kthread_stopping(char *title)
 {
-       if (verbose)
-               VERBOSE_TOROUT_STRING(title);
+       char buf[128];
+
+       snprintf(buf, sizeof(buf), "Stopping %s", title);
+       VERBOSE_TOROUT_STRING(buf);
        while (!kthread_should_stop()) {
                torture_shutdown_absorb(title);
                schedule_timeout_uninterruptible(1);
This page took 0.039437 seconds and 5 git commands to generate.