]> 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)
commit3d4165fc8a71ce63603691c0f2290a9913d5c02c
tree9983b6f6140a81410aa83b75648ee8a2473a17f9
parentdb8c8778bf03199212d8e66f88af9703794b288e
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