From: Paul Mundt <lethal@linux-sh.org>
To: linux-sh@vger.kernel.org
Subject: Re: [PATCH] sh: fix build error in fpu.c
Date: Wed, 04 Apr 2012 03:01:57 +0000 [thread overview]
Message-ID: <20120404030156.GB23761@linux-sh.org> (raw)
In-Reply-To: <4F7BAEE9.7020401@renesas.com>
On Wed, Apr 04, 2012 at 11:16:09AM +0900, Shimoda, Yoshihiro wrote:
> This patch fixes the following build error:
>
> CC arch/sh/kernel/cpu/sh4/fpu.o
> arch/sh/kernel/cpu/sh4/fpu.c:405: warning: return type defaults to ???int???
> arch/sh/kernel/cpu/sh4/fpu.c:405: warning: function declaration isn???t a prototype
> arch/sh/kernel/cpu/sh4/fpu.c: In function ???BUILD_TRAP_HANDLER???:
> arch/sh/kernel/cpu/sh4/fpu.c:407: error: ???TRAP_HANDLER_DECL??? undeclared (first use in this function)
> arch/sh/kernel/cpu/sh4/fpu.c:407: error: (Each undeclared identifier is reported only once
> arch/sh/kernel/cpu/sh4/fpu.c:407: error: for each function it appears in.)
> arch/sh/kernel/cpu/sh4/fpu.c:409: error: ???regs??? undeclared (first use in this function)
> arch/sh/kernel/cpu/sh4/fpu.c:423: warning: ???return??? with no value, in function returning non-void
> CC arch/sh/kernel/cpu/fpu.o
> arch/sh/kernel/cpu/fpu.c:80: warning: return type defaults to ???int???
> arch/sh/kernel/cpu/fpu.c:80: warning: function declaration isn???t a prototype
> arch/sh/kernel/cpu/fpu.c: In function ???BUILD_TRAP_HANDLER???:
> arch/sh/kernel/cpu/fpu.c:81: error: ???TRAP_HANDLER_DECL??? undeclared (first use in this function)
> arch/sh/kernel/cpu/fpu.c:81: error: (Each undeclared identifier is reported only once
> arch/sh/kernel/cpu/fpu.c:81: error: for each function it appears in.)
> arch/sh/kernel/cpu/fpu.c:83: error: ???regs??? undeclared (first use in this function)
> arch/sh/kernel/cpu/fpu.c:83: error: called object ???fpu_state_restore??? is not a function
>
> Signed-off-by: Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>
Already fixed in my tree.
prev parent reply other threads:[~2012-04-04 3:01 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-04-04 2:16 [PATCH] sh: fix build error in fpu.c Shimoda, Yoshihiro
2012-04-04 3:01 ` Paul Mundt [this message]
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=20120404030156.GB23761@linux-sh.org \
--to=lethal@linux-sh.org \
--cc=linux-sh@vger.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