diff options
author | 2024-09-30 14:33:22 +0200 | |
---|---|---|
committer | 2024-10-03 18:20:14 +0200 | |
commit | 9127ad42420dda0c54ddc00826242c46a918c116 (patch) | |
tree | b109162d1aeb072d7389f8ceca8c338829a48515 | |
parent | lib/interval_tree_test.c: Include <linux/prandom.h> instead of <linux/random.h> (diff) | |
download | linux-rng-9127ad42420dda0c54ddc00826242c46a918c116.tar.xz linux-rng-9127ad42420dda0c54ddc00826242c46a918c116.zip |
kunit: string-stream-test: Include <linux/prandom.h>
Include <linux/random.h> header to allow the removal of legacy
inclusion of <linux/prandom.h> from <linux/random.h>.
Signed-off-by: Uros Bizjak <ubizjak@gmail.com>
Cc: Brendan Higgins <brendan.higgins@linux.dev>
Cc: David Gow <davidgow@google.com>
Cc: Rae Moar <rmoar@google.com>
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
-rw-r--r-- | lib/kunit/string-stream-test.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/kunit/string-stream-test.c b/lib/kunit/string-stream-test.c index 7511442ea98f..7734e33156f9 100644 --- a/lib/kunit/string-stream-test.c +++ b/lib/kunit/string-stream-test.c @@ -9,6 +9,7 @@ #include <kunit/static_stub.h> #include <kunit/test.h> #include <linux/ktime.h> +#include <linux/prandom.h> #include <linux/slab.h> #include <linux/timekeeping.h> |