Re: [PATCH] ftrace: Build with CPPFLAGS to get -Qunused-arguments

2018-09-19 Thread Masahiro Yamada
2018-09-18 2:24 GMT+09:00 Nick Desaulniers : > On Mon, Sep 17, 2018 at 12:38 AM Joel Stanley wrote: >> >> When building to record the mcount locations the kernel uses >> KBUILD_CFLAGS but not KBUILD_CPPFLAGS. This means it lacks >> -Qunused-arguments when building with clang, resulting in a lot of

Re: [PATCH] ftrace: Build with CPPFLAGS to get -Qunused-arguments

2018-09-17 Thread Nick Desaulniers
On Mon, Sep 17, 2018 at 12:38 AM Joel Stanley wrote: > > When building to record the mcount locations the kernel uses > KBUILD_CFLAGS but not KBUILD_CPPFLAGS. This means it lacks > -Qunused-arguments when building with clang, resulting in a lot of > noisy warnings. > > Signed-off-by: Joel Stanley