diff options
author | Thierry Escande <[email protected]> | 2018-06-14 15:28:15 -0700 |
---|---|---|
committer | Linus Torvalds <[email protected]> | 2018-06-15 07:55:25 +0900 |
commit | ee410f15b1418f2f4428e79980674c979081bcb7 (patch) | |
tree | 5d812a5175222659875e96eb5b4907b8c1133f9a /tools/perf/scripts/python/call-graph-from-sql.py | |
parent | 608dbdfb1f0299f4500e56d62b0d84c44dcfa3be (diff) |
lib/test_printf.c: call wait_for_random_bytes() before plain %p tests
If the test_printf module is loaded before the crng is initialized, the
plain 'p' tests will fail because the printed address will not be hashed
and the buffer will contain '(ptrval)' instead.
This patch adds a call to wait_for_random_bytes() before plain 'p' tests
to make sure the crng is initialized.
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Thierry Escande <[email protected]>
Acked-by: Tobin C. Harding <[email protected]>
Reviewed-by: Andrew Morton <[email protected]>
Cc: David Miller <[email protected]>
Cc: Rasmus Villemoes <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-sql.py')
0 files changed, 0 insertions, 0 deletions