From: Frederik Deweerdt <deweerdt@free.fr>
To: Andrew Morton <akpm@osdl.org>
Cc: linux-kernel@vger.kernel.org, zach.brown@oracle.com,
rmk+kernel@arm.linux.org.uk
Subject: [-mm patch] arm build fail: vfpsingle.c
Date: Tue, 12 Sep 2006 20:05:22 +0000 [thread overview]
Message-ID: <20060912200522.GN3775@slug> (raw)
In-Reply-To: <20060912000618.a2e2afc0.akpm@osdl.org>
On Tue, Sep 12, 2006 at 12:06:18AM -0700, Andrew Morton wrote:
>
> ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.18-rc6/2.6.18-rc6-mm2/
>
Hi,
It looks like Zach Brown's patch pr_debug-check-pr_debug-arguments
worked as inteded. That is, it doesn't "allow completely incorrect code
to build." :).
The arm build fails with the following message:
CC arch/arm/vfp/vfpsingle.o
arch/arm/vfp/vfpsingle.c: In function `__vfp_single_normaliseround':
arch/arm/vfp/vfpsingle.c:201: error: `func' undeclared (first use in
this function)
arch/arm/vfp/vfpsingle.c:201: error: (Each undeclared identifier is
reported only once
arch/arm/vfp/vfpsingle.c:201: error: for each function it appears in.)
make[1]: *** [arch/arm/vfp/vfpsingle.o] Error 1
make: *** [arch/arm/vfp] Error 2
The following patch fixes the issue by using func only when DEBUG is
defined.
Regards,
Frederik
Signed-off-by: Frederik Deweerdt <frederik.deweerdt@gmail.com>
--- 2.6.18-rc6-mm2/arch/arm/vfp/vfpsingle.c~ 2006-09-12 19:57:50 +0000
+++ 2.6.18-rc6-mm2/arch/arm/vfp/vfpsingle.c 2006-09-12 19:58:07 +0000
@@ -198,8 +198,10 @@ u32 vfp_single_normaliseround(int sd, st
vfp_single_dump("pack: final", vs);
{
s32 d = vfp_single_pack(vs);
+#ifdef DEBUG
pr_debug("VFP: %s: d(s%d)=%08x exceptions=%08x\n", func,
sd, d, exceptions);
+#endif
vfp_put_float(d, sd);
}
next prev parent reply other threads:[~2006-09-12 18:06 UTC|newest]
Thread overview: 58+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-09-12 7:06 2.6.18-rc6-mm2 Andrew Morton
2006-09-12 8:56 ` 2.6.18-rc6-mm2 Andy Whitcroft
2006-09-12 9:02 ` [PATCH] BODGE scsi misc module reference count checks with no MODULE_UNLOAD Andy Whitcroft
2006-09-12 9:19 ` Helge Hafting
2006-09-12 9:24 ` 2.6.18-rc6-mm2 Michal Piotrowski
2006-09-12 12:54 ` 2.6.18-rc6-mm2 Michal Piotrowski
2006-09-12 15:42 ` 2.6.18-rc6-mm2 Michal Piotrowski
2006-09-12 23:25 ` 2.6.18-rc6-mm2 Andrew Morton
2006-09-12 23:34 ` 2.6.18-rc6-mm2 Michal Piotrowski
2006-09-12 23:37 ` 2.6.18-rc6-mm2 Andrew Morton
2006-09-13 1:58 ` [xfs-masters] 2.6.18-rc6-mm2 David Chinner
2006-09-13 4:26 ` David Chinner
2006-09-13 9:43 ` Michal Piotrowski
2006-09-14 3:59 ` David Chinner
2006-09-14 8:37 ` Michal Piotrowski
2006-09-14 8:50 ` Michal Piotrowski
2006-09-14 8:55 ` Michal Piotrowski
2006-09-14 9:08 ` David Chinner
2006-09-14 9:29 ` Michal Piotrowski
2006-09-14 10:03 ` Michal Piotrowski
2006-09-14 17:01 ` Michal Piotrowski
2006-09-15 2:57 ` David Chinner
2006-09-15 3:48 ` Andrew Morton
2006-09-15 5:58 ` David Chinner
2006-09-15 8:06 ` Michal Piotrowski
2006-09-17 23:01 ` David Chinner
2006-09-12 19:11 ` 2.6.18-rc6-mm2 Michal Piotrowski
2006-09-12 22:03 ` 2.6.18-rc6-mm2 Jiri Slaby
2006-09-12 22:14 ` 2.6.18-rc6-mm2 Jiri Slaby
2006-09-12 20:05 ` Frederik Deweerdt [this message]
2006-09-12 18:27 ` [-mm patch] arm build fail: vfpsingle.c Zach Brown
2006-09-12 21:00 ` Frederik Deweerdt
2006-09-12 19:07 ` Zach Brown
2006-09-12 21:31 ` Frederik Deweerdt
2006-09-13 13:58 ` 2.6.18-rc6-mm2: rmmod ohci_hcd oopses on HPC 6325 Rafael J. Wysocki
2006-09-13 16:36 ` Rafael J. Wysocki
2006-09-13 18:44 ` Alan Stern
2006-09-13 19:24 ` Rafael J. Wysocki
2006-09-13 22:31 ` Pete Zaitcev
2006-09-14 11:19 ` Rafael J. Wysocki
2006-09-15 22:45 ` Pete Zaitcev
2006-09-16 23:02 ` Rafael J. Wysocki
2006-09-19 3:21 ` David Brownell
2006-09-14 11:11 ` 2.6.18-rc6-mm2 Michal Piotrowski
2006-09-14 15:47 ` 2.6.18-rc6-mm2 Andrew Morton
2006-09-14 21:40 ` 2.6.18-rc6-mm2 Greg KH
2006-09-14 22:17 ` 2.6.18-rc6-mm2 Michal Piotrowski
2006-09-14 22:36 ` 2.6.18-rc6-mm2 Greg KH
2006-09-15 20:35 ` 2.6.18-rc6-mm2 Michal Piotrowski
2006-09-15 21:50 ` 2.6.18-rc6-mm2 Greg KH
2006-09-16 12:14 ` 2.6.18-rc6-mm2 Michal Piotrowski
2006-09-17 16:05 ` 2.6.18-rc6-mm2 Greg KH
2006-09-17 9:29 ` 2.6.18-rc6-mm2: __fscache_register_netfs compile error Christian Kujau
2006-09-17 9:37 ` Christian Kujau
2006-09-22 10:33 ` David Howells
2006-09-22 10:39 ` David Howells
2006-09-23 20:38 ` Christian Kujau
2006-09-26 6:58 ` Christian Kujau
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=20060912200522.GN3775@slug \
--to=deweerdt@free.fr \
--cc=akpm@osdl.org \
--cc=linux-kernel@vger.kernel.org \
--cc=rmk+kernel@arm.linux.org.uk \
--cc=zach.brown@oracle.com \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.