On Friday 26 December 2014 12:41:18 Markus Pargmann wrote: > 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 > --- > Makefile.kbuild | 2 +- > debugfs.c | 8 -------- > debugfs.h | 34 ++++++++++++++++++++++++++++++++++ > 3 files changed, 35 insertions(+), 9 deletions(-) Applied in revision fe67bb4. Thanks, Marek