Skip to content
Commit 3e6743e2 authored by Christophe JAILLET's avatar Christophe JAILLET Committed by Jason A. Donenfeld
Browse files

random: include <linux/once.h> in the right header



<linux/prandom.h> uses DO_ONCE(), so it should include <linux/once.h>
directly. In contrast, <linux/random.h> does not use code from
<linux/once.h>, so it should be removed.

Move the `#include <linux/once.h>` line into the right file.

Signed-off-by: default avatarChristophe JAILLET <christophe.jaillet@wanadoo.fr>
Fixes: c0842fbc ("random32: move the pseudo-random 32-bit definitions to prandom.h")
Signed-off-by: default avatarJason A. Donenfeld <Jason@zx2c4.com>
parent 39ec9e6b
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment