diff options
author | Sven Eckelmann <sven@narfation.org> | 2017-01-28 12:23:30 +0300 |
---|---|---|
committer | Simon Wunderlich <sw@simonwunderlich.de> | 2017-01-28 12:40:35 +0300 |
commit | 3e7514afc7d728dd47c5fe9d7a1f5216fe659cda (patch) | |
tree | 9983b6f6140a81410aa83b75648ee8a2473a17f9 /net/batman-adv/debugfs.c | |
parent | 7c946062b3ae2b7f002383e5e402113e98ad3c77 (diff) | |
download | linux-3e7514afc7d728dd47c5fe9d7a1f5216fe659cda.tar.xz |
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 <linus.luessing@web.de>
Signed-off-by: Sven Eckelmann <sven@narfation.org>
Signed-off-by: Simon Wunderlich <sw@simonwunderlich.de>
Diffstat (limited to 'net/batman-adv/debugfs.c')
-rw-r--r-- | net/batman-adv/debugfs.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/batman-adv/debugfs.c b/net/batman-adv/debugfs.c index 5406148b9497..e32ad47c6efd 100644 --- a/net/batman-adv/debugfs.c +++ b/net/batman-adv/debugfs.c @@ -19,7 +19,7 @@ #include "main.h" #include <linux/debugfs.h> -#include <linux/device.h> +#include <linux/err.h> #include <linux/errno.h> #include <linux/export.h> #include <linux/fs.h> |