From: Greg KH <greg@kroah.com>
To: Adrian Bunk <bunk@fs.tum.de>
Cc: David Brownell <dbrownell@users.sourceforge.net>,
Dave Hollis <dhollis@davehollis.com>,
linux-kernel@vger.kernel.org,
linux-usb-devel@lists.sourceforge.net
Subject: Re: 2.4.23-pre8: usbnet.c doesn't compile with gcc 2.95
Date: Thu, 23 Oct 2003 15:03:03 -0700 [thread overview]
Message-ID: <20031023220303.GA21242@kroah.com> (raw)
In-Reply-To: <20031023194748.GH11807@fs.tum.de>
On Thu, Oct 23, 2003 at 09:47:49PM +0200, Adrian Bunk wrote:
> I'm getting the following compile error in 2.4.23-pre8 with gcc 2.95:
This can be fixed with this patch. I'll send it to Marcelo in the next
batch of USB fixes.
thanks,
greg k-h
# USB: fix build bug with usbnet and older versions of gcc.
diff -Nru a/drivers/usb/usbnet.c b/drivers/usb/usbnet.c
--- a/drivers/usb/usbnet.c Thu Oct 23 15:02:44 2003
+++ b/drivers/usb/usbnet.c Thu Oct 23 15:02:44 2003
@@ -381,14 +381,14 @@
#ifdef DEBUG
#define devdbg(usbnet, fmt, arg...) \
- printk(KERN_DEBUG "%s: " fmt "\n" , (usbnet)->net.name, ## arg)
+ printk(KERN_DEBUG "%s: " fmt "\n" , (usbnet)->net.name , ## arg)
#else
#define devdbg(usbnet, fmt, arg...) do {} while(0)
#endif
#define devinfo(usbnet, fmt, arg...) \
do { if ((usbnet)->msg_level >= 1) \
- printk(KERN_INFO "%s: " fmt "\n" , (usbnet)->net.name, ## arg); \
+ printk(KERN_INFO "%s: " fmt "\n" , (usbnet)->net.name , ## arg); \
} while (0)
\f
next prev parent reply other threads:[~2003-10-23 22:05 UTC|newest]
Thread overview: 23+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-10-22 23:24 Linux 2.4.23-pre8 Marcelo Tosatti
2003-10-23 1:53 ` viro
2003-10-23 15:45 ` Matt Zimmerman
2003-10-23 7:05 ` Jeff Chua
2003-10-23 11:26 ` Marcelo Tosatti
2003-10-23 14:07 ` [patch] 2.4.23-pre8: link error with both megaraid drivers Adrian Bunk
2003-10-23 14:18 ` Matthew Wilcox
2003-10-23 19:42 ` Adrian Bunk
2003-10-23 15:22 ` Linux 2.4.23-pre8 laurent.ml
2003-10-23 20:23 ` Olaf Hering
2003-10-23 17:05 ` Peter Osterlund
2003-10-23 17:48 ` Marcelo Tosatti
2003-10-23 18:12 ` Philipp Matthias Hahn
2003-10-23 18:59 ` Trond Myklebust
2003-10-23 21:20 ` Andre Tomt
2003-10-23 21:55 ` Trond Myklebust
2003-10-23 19:47 ` 2.4.23-pre8: usbnet.c doesn't compile with gcc 2.95 Adrian Bunk
2003-10-23 22:03 ` Greg KH [this message]
2003-10-23 22:43 ` Adrian Bunk
2003-10-23 19:59 ` 2.4.23-pre8: link error with multiple USB Gadget drivers Adrian Bunk
2003-10-24 16:47 ` David Brownell
2003-10-23 23:09 ` Linux 2.4.23-pre8 Lukasz Trabinski
2003-10-24 0:26 ` Andre Tomt
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=20031023220303.GA21242@kroah.com \
--to=greg@kroah.com \
--cc=bunk@fs.tum.de \
--cc=dbrownell@users.sourceforge.net \
--cc=dhollis@davehollis.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-usb-devel@lists.sourceforge.net \
/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;
as well as URLs for NNTP newsgroup(s).