From: Thomas Gleixner <tglx@linutronix.de>
To: Corcodel Marian <asd@marian1000.go.ro>
Cc: Ingo Molnar <mingo@redhat.com>, "H. Peter Anvin" <hpa@zytor.com>,
x86@kernel.org, linux-kernel@vger.kernel.org
Subject: Re: Incomplete type on task_pt_regs .
Date: Fri, 10 Mar 2017 11:40:46 +0100 (CET) [thread overview]
Message-ID: <alpine.DEB.2.20.1703101137530.3681@nanos> (raw)
In-Reply-To: <36b0ef31-f731-b8b4-2b5e-c38836ba1124@marian1000.go.ro>
[-- 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
parent reply other threads:[~2017-03-10 10:41 UTC|newest]
Thread overview: expand[flat|nested] mbox.gz Atom feed
[parent not found: <36b0ef31-f731-b8b4-2b5e-c38836ba1124@marian1000.go.ro>]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=alpine.DEB.2.20.1703101137530.3681@nanos \
--to=tglx@linutronix.de \
--cc=asd@marian1000.go.ro \
--cc=hpa@zytor.com \
--cc=linux-kernel@vger.kernel.org \
--cc=mingo@redhat.com \
--cc=x86@kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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®