summaryrefslogtreecommitdiffstats
path: root/arch/mips
diff options
context:
space:
mode:
authorThierry Escande <thierry.escande@linaro.org>2018-06-15 00:28:15 +0200
committerLinus Torvalds <torvalds@linux-foundation.org>2018-06-15 00:55:25 +0200
commitee410f15b1418f2f4428e79980674c979081bcb7 (patch)
tree5d812a5175222659875e96eb5b4907b8c1133f9a /arch/mips
parenthexagon: drop the unused variable zero_page_mask (diff)
downloadlinux-ee410f15b1418f2f4428e79980674c979081bcb7.tar.xz
linux-ee410f15b1418f2f4428e79980674c979081bcb7.zip
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/20180604113708.11554-1-thierry.escande@linaro.org Signed-off-by: Thierry Escande <thierry.escande@linaro.org> Acked-by: Tobin C. Harding <me@tobin.cc> Reviewed-by: Andrew Morton <akpm@linux-foundation.org> Cc: David Miller <davem@davemloft.net> Cc: Rasmus Villemoes <linux@rasmusvillemoes.dk> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'arch/mips')
0 files changed, 0 insertions, 0 deletions