]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
kunit: string-stream-test: Include <linux/prandom.h>
authorUros Bizjak <ubizjak@gmail.com>
Mon, 30 Sep 2024 12:33:22 +0000 (14:33 +0200)
committerJason A. Donenfeld <Jason@zx2c4.com>
Thu, 3 Oct 2024 16:20:14 +0000 (18:20 +0200)
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>
lib/kunit/string-stream-test.c

index 7511442ea98f0fcdaf1d2b93df10333efe03a00d..7734e33156f9456eebfdca5b82972c010fb4e7df 100644 (file)
@@ -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>