Re: [PATCH] KVM: x86: fix TRACE_INCLUDE_PATH and remove -I. header search paths

2019-01-25 Thread Paolo Bonzini
On 25/01/19 08:32, Masahiro Yamada wrote: > The header search path -I. in kernel Makefiles is very suspicious; > it allows the compiler to search for headers in the top of $(srctree), > where obviously no header file exists. > > The reason of having -I. here is to make the incorrectly set >

[PATCH] KVM: x86: fix TRACE_INCLUDE_PATH and remove -I. header search paths

2019-01-24 Thread Masahiro Yamada
The header search path -I. in kernel Makefiles is very suspicious; it allows the compiler to search for headers in the top of $(srctree), where obviously no header file exists. The reason of having -I. here is to make the incorrectly set TRACE_INCLUDE_PATH working. As the comment block in