Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

mtd: tests: 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: Miquel Raynal <miquel.raynal@bootlin.com>
Cc: Richard Weinberger <richard@nod.at>
Cc: Vignesh Raghavendra <vigneshr@ti.com>
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>

authored by

Uros Bizjak and committed by
Jason A. Donenfeld
84b241ab eab41187

+3 -3
+1 -1
drivers/mtd/tests/oobtest.c
··· 17 17 #include <linux/mtd/mtd.h> 18 18 #include <linux/slab.h> 19 19 #include <linux/sched.h> 20 - #include <linux/random.h> 20 + #include <linux/prandom.h> 21 21 22 22 #include "mtd_test.h" 23 23
+1 -1
drivers/mtd/tests/pagetest.c
··· 17 17 #include <linux/mtd/mtd.h> 18 18 #include <linux/slab.h> 19 19 #include <linux/sched.h> 20 - #include <linux/random.h> 20 + #include <linux/prandom.h> 21 21 22 22 #include "mtd_test.h" 23 23
+1 -1
drivers/mtd/tests/subpagetest.c
··· 15 15 #include <linux/mtd/mtd.h> 16 16 #include <linux/slab.h> 17 17 #include <linux/sched.h> 18 - #include <linux/random.h> 18 + #include <linux/prandom.h> 19 19 20 20 #include "mtd_test.h" 21 21