From ddff49c193a78a038f78c38ac06c10724a809f63 Mon Sep 17 00:00:00 2001 From: Andrew Morton Date: Wed, 6 Aug 2003 21:12:07 -0700 Subject: [PATCH] [PATCH] ax8817x.c build fix for older gcc's Work around gcc-2.9x token-pasting bug by adding a space in front of the comma. --- drivers/usb/net/ax8817x.c | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/drivers/usb/net/ax8817x.c b/drivers/usb/net/ax8817x.c index 030a3a08d1fcf..e51336b7ceb0e 100644 --- a/drivers/usb/net/ax8817x.c +++ b/drivers/usb/net/ax8817x.c @@ -185,19 +185,22 @@ const struct usb_device_id ax8817x_id_table[] = { MODULE_DEVICE_TABLE(usb, ax8817x_id_table); +/* The space before the ", ## arg" is deliberate: gcc-2.9x needs it */ + #ifdef DEBUG #define devdbg(ax_info, fmt, arg...) \ - printk(KERN_DEBUG "%s: " fmt "\n" , (ax_info)->net->name, ## arg) + printk(KERN_DEBUG "%s: " fmt "\n" , (ax_info)->net->name , ## arg) #else #define devdbg(ax_info, fmt, arg...) do {} while(0) #endif #define deverr(ax_info, fmt, arg...) \ - printk(KERN_ERR "%s: " fmt "\n", (ax_info)->net->name, ## arg) + printk(KERN_ERR "%s: " fmt "\n", (ax_info)->net->name , ## arg) #define devinfo(ax_info, fmt, arg...) \ do { if ((ax_info)->msg_level >= 1) \ - printk(KERN_INFO "%s: " fmt "\n", (ax_info)->net->name, ## arg); \ + printk(KERN_INFO "%s: " fmt "\n", \ + (ax_info)->net->name , ## arg); \ } while (0) static void ax_run_ctl_queue(struct ax8817x_info *, struct ax_cmd_req *, -- 2.53.0