xref: /linux/Documentation/admin-guide/clearing-warn-once.rst (revision 2e53c4e1c807d91dc7241c2104e69ad9d2c71e48)
1Clearing WARN_ONCE
2------------------
3
4WARN_ONCE / WARN_ON_ONCE / printk_once only emit a message once.
5
6echo 1 > /sys/kernel/debug/clear_warn_once
7
8clears the state and allows the warnings to print once again.
9This can be useful after test suite runs to reproduce problems.
10