]> git.itanic.dy.fi Git - linux-stable/commit
kcsan: remove rng selftest
authorJason A. Donenfeld <Jason@zx2c4.com>
Mon, 17 Oct 2022 04:42:25 +0000 (22:42 -0600)
committerJason A. Donenfeld <Jason@zx2c4.com>
Thu, 17 Nov 2022 16:36:47 +0000 (17:36 +0100)
commit6ce625939e58174df5a006ba8aa9d4c0013dfcf8
treeec7c0756dd7d4fc55d6238e640c28054568e5cb5
parent094226ad94f471a9f19e8f8e7140a09c2625abaa
kcsan: remove rng selftest

The first test of the kcsan selftest appears to test if get_random_u32()
returns two zeros in a row, and requires that it doesn't. This seems
like a bogus criteron. Remove it.

Acked-by: Marco Elver <elver@google.com>
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
kernel/kcsan/selftest.c