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)
-------------------------------------------------------
This SF.net email is sponsored by: The SF.net Donation Program.
Do you like what SourceForge.net is doing for the Open
Source Community? Make a contribution, and help us add new
features and functionality. Click here: http://sourceforge.net/donate/
_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel