Repository : ssh://git@diktynna/batman-adv
On branches: main,main
commit 0e9dac10fe75874798bb15766a85dd27ac172f16 Author: Sven Eckelmann sven@narfation.org Date: Sat Dec 17 12:40:08 2022 +0100
batman-adv: Include random.h for get_random_u32_below
The commit a15d3f3c1c2a ("batman-adv: use get_random_u32_below() instead of deprecated function") replaced the prandom.h function prandom_u32_max with the random.h function get_random_u32_below.
Signed-off-by: Sven Eckelmann sven@narfation.org
0e9dac10fe75874798bb15766a85dd27ac172f16 net/batman-adv/network-coding.c | 1 + 1 file changed, 1 insertion(+)
diff --git a/net/batman-adv/network-coding.c b/net/batman-adv/network-coding.c index 5e1f422b..ecd871ab 100644 --- a/net/batman-adv/network-coding.c +++ b/net/batman-adv/network-coding.c @@ -26,6 +26,7 @@ #include <linux/net.h> #include <linux/netdevice.h> #include <linux/printk.h> +#include <linux/random.h> #include <linux/rculist.h> #include <linux/rcupdate.h> #include <linux/skbuff.h>