| xj | b04a402 | 2021-11-25 15:01:52 +0800 | [diff] [blame] | 1 | |
| 2 | WARN_ONCE / WARN_ON_ONCE only print a warning once. | ||||
| 3 | |||||
| 4 | echo 1 > /sys/kernel/debug/clear_warn_once | ||||
| 5 | |||||
| 6 | clears the state and allows the warnings to print once again. | ||||
| 7 | This can be useful after test suite runs to reproduce problems. | ||||