* Re: Incomplete type on task_pt_regs .
[not found] <36b0ef31-f731-b8b4-2b5e-c38836ba1124@marian1000.go.ro>
@ 2017-03-10 10:40 ` Thomas Gleixner
0 siblings, 0 replies; only message in thread
From: Thomas Gleixner @ 2017-03-10 10:40 UTC (permalink / raw)
To: Corcodel Marian; +Cc: Ingo Molnar, H. Peter Anvin, x86, linux-kernel
[-- Attachment #1: Type: text/plain, Size: 768 bytes --]
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
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2017-03-10 10:41 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <36b0ef31-f731-b8b4-2b5e-c38836ba1124@marian1000.go.ro>
2017-03-10 10:40 ` Incomplete type on task_pt_regs Thomas Gleixner
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®