]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit87259d0f1b70f8726c721259a90fd765fc9caf37
tree9983b6f6140a81410aa83b75648ee8a2473a17f9
parentf065c0e5200272ddcd57617351893e575ae78a3c
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