swh:1:snp:c3bf2749e3476071fa748f67b0ffa2fdc5fe49d9
Raw File
Tip revision: 4f5cafb5cb8471e54afdc9054d973535614f7675 authored by Linus Torvalds on 13 October 2019, 23:37:36 UTC
Linux 5.4-rc3
Tip revision: 4f5cafb
clearing-warn-once.rst
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.
back to top