From: insecure <insecure@mail.od.ua>
To: Jeff Garzik <jgarzik@pobox.com>
Cc: linux-kernel@vger.kernel.org
Subject: [PATCH] Eliminate compile warning in winbond-840.c
Date: Mon, 25 Aug 2003 14:38:21 +0300 [thread overview]
Message-ID: <200308251438.21441.insecure@mail.od.ua> (raw)
Fixes non-modular build warning:
CC drivers/net/tulip/winbond-840.o
drivers/net/tulip/winbond-840.c:149: warning: `version' defined but not used
--
vda
--- linux-2.6.0-test4/drivers/net/tulip/winbond-840.c.orig Sat Aug 23 02:53:03 2003
+++ linux-2.6.0-test4/drivers/net/tulip/winbond-840.c Mon Aug 25 14:33:25 2003
@@ -146,9 +146,11 @@
#include <asm/irq.h>
/* These identify the driver base version and may not be removed. */
+#ifdef MODULE
static char version[] __devinitdata =
KERN_INFO DRV_NAME ".c:v" DRV_VERSION " (2.4 port) " DRV_RELDATE " Donald Becker <becker@scyld.com>\n"
KERN_INFO " http://www.scyld.com/network/drivers.html\n";
+#endif
MODULE_AUTHOR("Donald Becker <becker@scyld.com>");
MODULE_DESCRIPTION("Winbond W89c840 Ethernet driver");
reply other threads:[~2003-08-25 11:38 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=200308251438.21441.insecure@mail.od.ua \
--to=insecure@mail.od.ua \
--cc=jgarzik@pobox.com \
--cc=linux-kernel@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
all inboxes | Powered by JetHome®