Mauro Carvalho Chehab | 26187d1 | 2019-04-10 06:56:22 -0300 | [diff] [blame] | 1 | Clearing WARN_ONCE |
| 2 | ------------------ |
Andi Kleen | b1fca27 | 2017-11-17 15:27:03 -0800 | [diff] [blame] | 3 | |
Paul Gortmaker | 3ec2582 | 2019-04-12 22:11:31 -0400 | [diff] [blame] | 4 | WARN_ONCE / WARN_ON_ONCE / printk_once only emit a message once. |
Andi Kleen | b1fca27 | 2017-11-17 15:27:03 -0800 | [diff] [blame] | 5 | |
| 6 | echo 1 > /sys/kernel/debug/clear_warn_once |
| 7 | |
| 8 | clears the state and allows the warnings to print once again. |
| 9 | This can be useful after test suite runs to reproduce problems. |