diff options
author | Sven Eckelmann <sven@narfation.org> | 2020-08-17 08:09:48 +0200 |
---|---|---|
committer | Simon Wunderlich <sw@simonwunderlich.de> | 2020-08-18 19:39:54 +0200 |
commit | 0093870aa891594d170e1dc9aa192a30d530d755 (patch) | |
tree | c293e300025b5e6d3dc919dc3da39f8e572ef50c /net/batman-adv/bat_v_ogm.c | |
parent | batman-adv: Drop repeated words in comments (diff) | |
download | linux-0093870aa891594d170e1dc9aa192a30d530d755.tar.xz linux-0093870aa891594d170e1dc9aa192a30d530d755.zip |
batman-adv: Migrate to linux/prandom.h
The commit c0842fbc1b18 ("random32: move the pseudo-random 32-bit
definitions to prandom.h") introduced a new header for the pseudo random
functions from (previously) linux/random.h. One future goal of the
prandom.h change is to make code to switch just the new header file and to
avoid the implicit include. This would allow the removal of the implicit
include from random.h
Signed-off-by: Sven Eckelmann <sven@narfation.org>
Diffstat (limited to 'net/batman-adv/bat_v_ogm.c')
-rw-r--r-- | net/batman-adv/bat_v_ogm.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/net/batman-adv/bat_v_ogm.c b/net/batman-adv/bat_v_ogm.c index 0f8495b9eeb1..11c3f98ba938 100644 --- a/net/batman-adv/bat_v_ogm.c +++ b/net/batman-adv/bat_v_ogm.c @@ -20,6 +20,7 @@ #include <linux/lockdep.h> #include <linux/mutex.h> #include <linux/netdevice.h> +#include <linux/prandom.h> #include <linux/random.h> #include <linux/rculist.h> #include <linux/rcupdate.h> |