8a2c0e251c4ddf7767d39a64003fb28464fb7b17
[feed/routing.git] / batman-adv / patches / 0004-Revert-batman-adv-Switch-to-kstrtox.h-for-kstrtou64.patch
1 From: Sven Eckelmann <sven@narfation.org>
2 Date: Tue, 14 Sep 2021 21:02:10 +0200
3 Subject: Revert "batman-adv: Switch to kstrtox.h for kstrtou64"
4
5 This header is only available after Linux 5.14
6
7 This reverts commit c9a69cb4048ebef3a4d91835669011a26d9b7dab.
8
9 --- a/net/batman-adv/gateway_common.c
10 +++ b/net/batman-adv/gateway_common.c
11 @@ -10,7 +10,7 @@
12 #include <linux/atomic.h>
13 #include <linux/byteorder/generic.h>
14 #include <linux/errno.h>
15 -#include <linux/kstrtox.h>
16 +#include <linux/kernel.h>
17 #include <linux/limits.h>
18 #include <linux/math64.h>
19 #include <linux/netdevice.h>