blob: 211fd926cf00f5994f322d4edb1f0d45a4fd442a [file] [log] [blame]
Mauro Carvalho Chehab26187d12019-04-10 06:56:22 -03001Clearing WARN_ONCE
2------------------
Andi Kleenb1fca272017-11-17 15:27:03 -08003
Paul Gortmaker3ec25822019-04-12 22:11:31 -04004WARN_ONCE / WARN_ON_ONCE / printk_once only emit a message once.
Andi Kleenb1fca272017-11-17 15:27:03 -08005
6echo 1 > /sys/kernel/debug/clear_warn_once
7
8clears the state and allows the warnings to print once again.
9This can be useful after test suite runs to reproduce problems.