Skip to content

Commit 9127ad4

Browse files
ubizjakzx2c4
authored andcommitted
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 <[email protected]> Cc: Brendan Higgins <[email protected]> Cc: David Gow <[email protected]> Cc: Rae Moar <[email protected]> Signed-off-by: Jason A. Donenfeld <[email protected]>
1 parent d46150d commit 9127ad4

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/kunit/string-stream-test.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
#include <kunit/static_stub.h>
1010
#include <kunit/test.h>
1111
#include <linux/ktime.h>
12+
#include <linux/prandom.h>
1213
#include <linux/slab.h>
1314
#include <linux/timekeeping.h>
1415

0 commit comments

Comments
 (0)