Commit ddff49c1 authored by Andrew Morton's avatar Andrew Morton Committed by Linus Torvalds

[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.
parent 66332b52
......@@ -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 *,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment