Skip to content

Commit 0402779

Browse files
ubizjakzx2c4
authored andcommitted
lib/test_scanf: 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]> Acked-by: Petr Mladek <[email protected]> Cc: Steven Rostedt <[email protected]> Cc: Andy Shevchenko <[email protected]> Cc: Rasmus Villemoes <[email protected]> Cc: Sergey Senozhatsky <[email protected]> Cc: Andrew Morton <[email protected]> Signed-off-by: Jason A. Donenfeld <[email protected]>
1 parent 1da74f9 commit 0402779

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/test_scanf.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
#include <linux/module.h>
1212
#include <linux/overflow.h>
1313
#include <linux/printk.h>
14-
#include <linux/random.h>
14+
#include <linux/prandom.h>
1515
#include <linux/slab.h>
1616
#include <linux/string.h>
1717

0 commit comments

Comments
 (0)