hc
2023-11-07 2a9a9d4f6c07f2f23b663fe5fbeac1168a5d1029
1
2
3
4
5
6
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.