Skip to content

Commit 1da74f9

Browse files
ubizjakzx2c4
authored andcommitted
lib/test_parman: Include <linux/prandom.h> instead of <linux/random.h>
Substitute the inclusion of <linux/random.h> header with <linux/prandom.h> to allow the removal of legacy inclusion of <linux/prandom.h> from <linux/random.h>. Signed-off-by: Uros Bizjak <[email protected]> Cc: Andrew Morton <[email protected]> Cc: Jiri Pirko <[email protected]> Signed-off-by: Jason A. Donenfeld <[email protected]>
1 parent 2e2fe47 commit 1da74f9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/test_parman.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@
3939
#include <linux/slab.h>
4040
#include <linux/bitops.h>
4141
#include <linux/err.h>
42-
#include <linux/random.h>
42+
#include <linux/prandom.h>
4343
#include <linux/parman.h>
4444

4545
#define TEST_PARMAN_PRIO_SHIFT 7 /* defines number of prios for testing */

0 commit comments

Comments
 (0)