aboutsummaryrefslogtreecommitdiff
path: root/Documentation/admin-guide/clearing-warn-once.rst
blob: 211fd926cf00f5994f322d4edb1f0d45a4fd442a (plain)
1
2
3
4
5
6
7
8
9
Clearing WARN_ONCE
------------------

WARN_ONCE / WARN_ON_ONCE / printk_once only emit a message 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.