Searched hist:"9 bb218828c8f4fa6587af93e248903c96ce469d0" (Results 1 – 1 of 1) sorted by relevance
/linux/net/batman-adv/ |
H A D | Makefile | diff 9bb218828c8f4fa6587af93e248903c96ce469d0 Fri Dec 26 12:41:18 CET 2014 Markus Pargmann <mpa@pengutronix.de> batman-adv: debugfs, avoid compiling for !DEBUG_FS
Normally the debugfs framework will return error pointer with -ENODEV for function calls when DEBUG_FS is not set.
batman does not notice this error code and continues trying to create debugfs files and executes more code. We can avoid this code execution by disabling compiling debugfs.c when DEBUG_FS is not set.
Signed-off-by: Markus Pargmann <mpa@pengutronix.de> Signed-off-by: Marek Lindner <mareklindner@neomailbox.ch>
|