diff options
author | Sven Eckelmann <sven@narfation.org> | 2020-10-26 21:01:59 +0100 |
---|---|---|
committer | Simon Wunderlich <sw@simonwunderlich.de> | 2020-12-04 08:40:52 +0100 |
commit | fcd193e1dfa6842e2783b04d98345767fe99cf31 (patch) | |
tree | 72f3080b98d0ed3dfa0dc8406e82e7cd80dfad04 /net/batman-adv/bat_v_ogm.c | |
parent | fee3e9554ac0fe897a6b1fbadde1bf1663412973 (diff) | |
download | linux-stable-fcd193e1dfa6842e2783b04d98345767fe99cf31.tar.gz linux-stable-fcd193e1dfa6842e2783b04d98345767fe99cf31.tar.bz2 linux-stable-fcd193e1dfa6842e2783b04d98345767fe99cf31.zip |
batman-adv: Add new include for min/max helpers
The commit b296a6d53339 ("kernel.h: split out min()/max() et al. helpers")
moved the min/max helper functionality from kernel.h to minmax.h. Adjust
the kernel code accordingly to avoid fragile indirect includes.
Signed-off-by: Sven Eckelmann <sven@narfation.org>
Signed-off-by: Simon Wunderlich <sw@simonwunderlich.de>
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 8c1148fc73d7..798d659855d0 100644 --- a/net/batman-adv/bat_v_ogm.c +++ b/net/batman-adv/bat_v_ogm.c @@ -18,6 +18,7 @@ #include <linux/kref.h> #include <linux/list.h> #include <linux/lockdep.h> +#include <linux/minmax.h> #include <linux/mutex.h> #include <linux/netdevice.h> #include <linux/prandom.h> |