From: Sven Eckelmann Date: Sat, 28 Jan 2017 09:23:30 +0000 (+0100) Subject: batman-adv: Fix includes for IS_ERR/ERR_PTR X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=3e7514afc7d728dd47c5fe9d7a1f5216fe659cda;p=linux.git batman-adv: Fix includes for IS_ERR/ERR_PTR IS_ERR/ERR_PTR are not defined in linux/device.h but in linux/err.h. The files using these macros therefore have to include the correct one. Reported-by: Linus Luessing Signed-off-by: Sven Eckelmann Signed-off-by: Simon Wunderlich --- diff --git a/net/batman-adv/debugfs.c b/net/batman-adv/debugfs.c index 5406148b94978..e32ad47c6efdf 100644 --- a/net/batman-adv/debugfs.c +++ b/net/batman-adv/debugfs.c @@ -19,7 +19,7 @@ #include "main.h" #include -#include +#include #include #include #include diff --git a/net/batman-adv/tp_meter.c b/net/batman-adv/tp_meter.c index 07f64b60b528a..c94ebdecdc3d1 100644 --- a/net/batman-adv/tp_meter.c +++ b/net/batman-adv/tp_meter.c @@ -23,7 +23,7 @@ #include #include #include -#include +#include #include #include #include