diff options
author | Petr Mladek <pmladek@suse.com> | 2018-06-25 13:28:06 +0200 |
---|---|---|
committer | Petr Mladek <pmladek@suse.com> | 2018-06-25 13:44:20 +0200 |
commit | 043f891b70e6197bc181f3b087c2bd04c60fddd2 (patch) | |
tree | 5859c56e3c65c12608e5fba4c785b787e32e1484 /lib | |
parent | ce397d215ccd07b8ae3f71db689aedb85d56ab40 (diff) |
Revert "lib/test_printf.c: call wait_for_random_bytes() before plain %p tests"
This reverts commit ee410f15b1418f2f4428e79980674c979081bcb7.
It might prevent the machine from boot. It would wait for enough
randomness at the very beginning of kernel_init(). But there is
basically nothing running in parallel that would help to produce
any randomness.
Reported-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
Signed-off-by: Petr Mladek <pmladek@suse.com>
Diffstat (limited to 'lib')
-rw-r--r-- | lib/test_printf.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/lib/test_printf.c b/lib/test_printf.c index b2aa8f514844..cea592f402ed 100644 --- a/lib/test_printf.c +++ b/lib/test_printf.c @@ -260,13 +260,6 @@ plain(void) { int err; - /* - * Make sure crng is ready. Otherwise we get "(ptrval)" instead - * of a hashed address when printing '%p' in plain_hash() and - * plain_format(). - */ - wait_for_random_bytes(); - err = plain_hash(); if (err) { pr_warn("plain 'p' does not appear to be hashed\n"); |