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 <ubizjak@gmail.com> Acked-by: Petr Mladek <pmladek@suse.com> Cc: Steven Rostedt <rostedt@goodmis.org> Cc: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Cc: Rasmus Villemoes <linux@rasmusvillemoes.dk> Cc: Sergey Senozhatsky <senozhatsky@chromium.org> Cc: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
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)