Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

lightnvm: pblk: fix TRACE_INCLUDE_PATH

As the comment block in include/trace/define_trace.h says,
TRACE_INCLUDE_PATH should be a relative path to the define_trace.h

../../drivers/lightnvm is the correct relative path.

../../../drivers/lightnvm is working by coincidence because the top
Makefile adds -I$(srctree)/arch/$(SRCARCH)/include as a header
search path, but we should not rely on it.

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Reviewed-by: Hans Holmberg <hans.holmberg@cnexlabs.com>
Signed-off-by: Matias Bjørling <mb@lightnvm.io>
Signed-off-by: Jens Axboe <axboe@kernel.dk>

authored by

Masahiro Yamada and committed by
Jens Axboe
b7fce8f7 7e0a0847

+1 -1
+1 -1
drivers/lightnvm/pblk-trace.h
··· 139 139 /* This part must be outside protection */ 140 140 141 141 #undef TRACE_INCLUDE_PATH 142 - #define TRACE_INCLUDE_PATH ../../../drivers/lightnvm 142 + #define TRACE_INCLUDE_PATH ../../drivers/lightnvm 143 143 #undef TRACE_INCLUDE_FILE 144 144 #define TRACE_INCLUDE_FILE pblk-trace 145 145 #include <trace/define_trace.h>