Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1597059 > unrolled thread

Re: Incomplete type on task_pt_regs .

Started byThomas Gleixner <tglx@linutronix.de>
First post2017-03-10 11:50 +0100
Last post2017-03-10 11:50 +0100
Articles 1 — 1 participant

Back to article view | Back to linux.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: Incomplete type on task_pt_regs . Thomas Gleixner <tglx@linutronix.de> - 2017-03-10 11:50 +0100

#1597059 — Re: Incomplete type on task_pt_regs .

FromThomas Gleixner <tglx@linutronix.de>
Date2017-03-10 11:50 +0100
SubjectRe: Incomplete type on task_pt_regs .
Message-ID<tjqhs-2KE-15@gated-at.bofh.it>

[Multipart message — attachments visible in raw view] — view raw

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

[toc] | [standalone]


Back to top | Article view | linux.kernel


csiph-web