Skip to content

Commit

Permalink
lib/test_parman: Include <linux/prandom.h> instead of <linux/random.h>
Browse files Browse the repository at this point in the history
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]>
  • Loading branch information
ubizjak authored and zx2c4 committed Oct 3, 2024
1 parent 2e2fe47 commit 1da74f9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/test_parman.c
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
#include <linux/slab.h>
#include <linux/bitops.h>
#include <linux/err.h>
#include <linux/random.h>
#include <linux/prandom.h>
#include <linux/parman.h>

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

0 comments on commit 1da74f9

Please sign in to comment.