summaryrefslogtreecommitdiff
path: root/Documentation/clearing-warn-once.txt
diff options
context:
space:
mode:
Diffstat (limited to 'Documentation/clearing-warn-once.txt')
-rw-r--r--Documentation/clearing-warn-once.txt7
1 files changed, 7 insertions, 0 deletions
diff --git a/Documentation/clearing-warn-once.txt b/Documentation/clearing-warn-once.txt
new file mode 100644
index 000000000000..5b1f5d547be1
--- /dev/null
+++ b/Documentation/clearing-warn-once.txt
@@ -0,0 +1,7 @@
+
+WARN_ONCE / WARN_ON_ONCE only print a warning once.
+
+echo 1 > /sys/kernel/debug/clear_warn_once
+
+clears the state and allows the warnings to print once again.
+This can be useful after test suite runs to reproduce problems.