Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1597059
| From | Thomas Gleixner <tglx@linutronix.de> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: Incomplete type on task_pt_regs . |
| Date | 2017-03-10 11:50 +0100 |
| Message-ID | <tjqhs-2KE-15@gated-at.bofh.it> (permalink) |
| References | <tjqhs-2KE-17@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
[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
Back to linux.kernel | Previous | Next | Find similar | Unroll thread
Re: Incomplete type on task_pt_regs . Thomas Gleixner <tglx@linutronix.de> - 2017-03-10 11:50 +0100
csiph-web