From: Ragnar Hojland Espinosa <ragnar@ragnar-hojland.com>
To: Robert Love <rml@tech9.net>
Cc: Sven Vermeulen <sven.vermeulen@rug.ac.be>,
torvalds@transmeta.com,
Linux-Kernel Development Mailinglist
<linux-kernel@vger.kernel.org>
Subject: Re: 2.4.14-pre3: some compilerwarnings...
Date: Wed, 31 Oct 2001 18:12:13 +0100 [thread overview]
Message-ID: <20011031181213.A411@ragnar-hojland.com> (raw)
In-Reply-To: <20011027185158.A5848@Zenith.starcenter> <1004202984.3274.53.camel@phantasy>
In-Reply-To: <1004202984.3274.53.camel@phantasy>; from rml@tech9.net on Sat, Oct 27, 2001 at 01:16:23PM -0400
On Sat, Oct 27, 2001 at 01:16:23PM -0400, Robert Love wrote:
> On Sat, 2001-10-27 at 12:51, Sven Vermeulen wrote:
> > A little grep on the stdout/stderr of "make bzImage":
>
> You can't do much about unused variables because, as you suggested, they
May I suggest the following?
--
____/| Ragnar Højland Freedom - Linux - OpenGL | Brainbench MVP
\ o.O| PGP94C4B2F0D27DE025BE2302C104B78C56 B72F0822 | for Unix Programming
=(_)= "Thou shalt not follow the NULL pointer for | (www.brainbench.com)
U chaos and madness await thee at its end."
--- linux-2.4.13/arch/i386/kernel/dmi_scan.c.O Wed Oct 31 18:03:20 2001
+++ linux-2.4.13/arch/i386/kernel/dmi_scan.c Wed Oct 31 18:06:21 2001
@@ -190,6 +190,7 @@ struct dmi_blacklist
* corruption problems
*/
+static __init int disable_ide_dma(struct dmi_blacklist *d) __attribute__ ((unused));
static __init int disable_ide_dma(struct dmi_blacklist *d)
{
#ifdef CONFIG_BLK_DEV_IDE
--- linux-2.4.13/drivers/parport/parport_pc.c.O Wed Oct 31 17:59:16 2001
+++ linux-2.4.13/drivers/parport/parport_pc.c Wed Oct 31 18:09:14 2001
@@ -91,7 +91,7 @@ static struct superio_struct { /* For Su
} superios[NR_SUPERIOS] __devinitdata = { {0,},};
static int user_specified __devinitdata = 0;
-static int verbose_probing;
+static int verbose_probing __attribute__ ((unused));
static int registered_parport;
/* frob_control, but for ECR */
@@ -1756,6 +1756,7 @@ static int __devinit parport_PS2_support
return ok;
}
+static int __devinit parport_ECP_supported(struct parport *pb) __attribute__ ((unused));
static int __devinit parport_ECP_supported(struct parport *pb)
{
int i;
--- linux-2.4.13/fs/super.c.O Wed Oct 31 18:00:57 2001
+++ linux-2.4.13/fs/super.c Wed Oct 31 18:01:18 2001
@@ -1060,7 +1060,7 @@ mount_it:
vfsmnt->mnt_root = dget(sb->s_root);
bdput(bdev); /* sb holds a reference */
-attach_it:
+attach_it: __attribute__ ((unused))
root_nd.mnt = root_vfsmnt;
root_nd.dentry = root_vfsmnt->mnt_sb->s_root;
graft_tree(vfsmnt, &root_nd);
--- linux-2.4.13/kernel/exec_domain.c.O Wed Oct 31 17:58:03 2001
+++ linux-2.4.13/kernel/exec_domain.c Wed Oct 31 17:58:48 2001
@@ -77,7 +77,7 @@ static struct exec_domain *
lookup_exec_domain(u_long personality)
{
struct exec_domain * ep;
- char buffer[30];
+ char buffer[30] __attribute__ ((unused));
u_long pers = personality(personality);
read_lock(&exec_domains_lock);
next prev parent reply other threads:[~2001-10-31 17:09 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-10-27 16:51 Sven Vermeulen
2001-10-27 17:16 ` Robert Love
2001-10-31 17:12 ` Ragnar Hojland Espinosa [this message]
2001-10-27 17:30 ` [PATCH] " Robert Love
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=20011031181213.A411@ragnar-hojland.com \
--to=ragnar@ragnar-hojland.com \
--cc=linux-kernel@vger.kernel.org \
--cc=rml@tech9.net \
--cc=sven.vermeulen@rug.ac.be \
--cc=torvalds@transmeta.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 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®