Re: [PATCH] kcov: add missing #include

2016-12-06 Thread Mark Rutland
On Tue, Dec 06, 2016 at 02:56:24PM +0800, Kefeng Wang wrote: > It is needed by struct task_struct, fixes the following build problem > with old gcc: > > ../kernel/kcov.c: In function ‘__sanitizer_cov_trace_pc’: > ../kernel/kcov.c:66: error: dereferencing pointer to incomplete type > .. >

[PATCH] kcov: add missing #include

2016-12-05 Thread Kefeng Wang
It is needed by struct task_struct, fixes the following build problem with old gcc: ../kernel/kcov.c: In function ‘__sanitizer_cov_trace_pc’: ../kernel/kcov.c:66: error: dereferencing pointer to incomplete type .. ../kernel/kcov.c:239: error: dereferencing pointer to incomplete type S