Commit 843c944f authored by Andrew Morton's avatar Andrew Morton Committed by Greg Kroah-Hartman

[PATCH] USB: fix usbatm gcc-2.95.x bug

Work around the gcc-2.95.x macro expansion bug.

Cc: Duncan Sands <baldrick@free.fr>
Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
parent 65412e48
...@@ -62,7 +62,8 @@ ...@@ -62,7 +62,8 @@
/* FIXME: move to dev_* once ATM is driver model aware */ /* FIXME: move to dev_* once ATM is driver model aware */
#define atm_printk(level, instance, format, arg...) \ #define atm_printk(level, instance, format, arg...) \
printk(level "ATM dev %d: " format , (instance)->atm_dev->number, ## arg) printk(level "ATM dev %d: " format , \
(instance)->atm_dev->number , ## arg)
#define atm_err(instance, format, arg...) \ #define atm_err(instance, format, arg...) \
atm_printk(KERN_ERR, instance , format , ## arg) atm_printk(KERN_ERR, instance , format , ## arg)
......
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