]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
lib/test_scanf: Include <linux/prandom.h> instead of <linux/random.h>
authorUros Bizjak <ubizjak@gmail.com>
Mon, 30 Sep 2024 12:33:27 +0000 (14:33 +0200)
committerJason A. Donenfeld <Jason@zx2c4.com>
Thu, 3 Oct 2024 16:20:29 +0000 (18:20 +0200)
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>
lib/test_scanf.c

index 7257b1768545a9ae4208f7c5164f14bd5a4a9620..44f8508c9d88fa7e42ffed15dbaac92e4882ed9e 100644 (file)
@@ -11,7 +11,7 @@
 #include <linux/module.h>
 #include <linux/overflow.h>
 #include <linux/printk.h>
-#include <linux/random.h>
+#include <linux/prandom.h>
 #include <linux/slab.h>
 #include <linux/string.h>