Marian,
On Thu, 9 Mar 2017, Corcodel Marian wrote:
> Try to remove suppres errors on compiler.
>
> Run make
>
> Bellow is error message from compiler:
>
> ./arch/x86/include/asm/processor.h:594:51: error: dereferencing pointer to
> incomplete type ‘struct task_struct’
> #define task_pt_regs(tsk) ((struct pt_regs *)(tsk)->thread.sp0 - 1)
> ^
> arch/x86/init/compat.c:27:8: note: in expansion of macro ‘task_pt_regs’
> sp = task_pt_regs(current)->sp;
This is pretty useless because you miss to provide the information how that
compile errors are exposed:
- .config file
- compiler version
- source tree (branch, SHA1 of head commit)
- Source file which exposes the failure
Thanks,
tglx