batman-adv: Fix includes for IS_ERR/ERR_PTR
authorSven Eckelmann <sven@narfation.org>
Sat, 28 Jan 2017 09:23:30 +0000 (10:23 +0100)
committerSimon Wunderlich <sw@simonwunderlich.de>
Sat, 28 Jan 2017 09:40:35 +0000 (10:40 +0100)
commit3e7514afc7d728dd47c5fe9d7a1f5216fe659cda
tree9983b6f6140a81410aa83b75648ee8a2473a17f9
parent7c946062b3ae2b7f002383e5e402113e98ad3c77
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>
net/batman-adv/debugfs.c
net/batman-adv/tp_meter.c