Commit a6a0c4ca authored by Arjan van de Ven's avatar Arjan van de Ven Committed by Linus Torvalds
Browse files

suspend: use WARN not WARN_ON to print the message

By using WARN(), can collect which component is causing
the delay and make statistics about that. suspend_test_finish() is
currently the number 2 item but unless we can collect who's causing
it we're not going to be able to fix the hot topic ones..

Signed-off-by: default avatarArjan van de Ven <>
Signed-off-by: default avatarLinus Torvalds <>
parent 72b51a6b
......@@ -174,7 +174,7 @@ static void suspend_test_finish(const char *label)
* has some performance issues. The stack dump of a WARN_ON
* is more likely to get the right attention than a printk...
WARN(msec > (TEST_SUSPEND_SECONDS * 1000), "Component: %s\n", label);
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment