Commit 895e216d authored by Greg Kroah-Hartman's avatar Greg Kroah-Hartman

USB: brlvger driver: fixed __FUNCTION__ usage

parent 455f878a
...@@ -208,8 +208,8 @@ static DECLARE_WAIT_QUEUE_HEAD(open_wait); ...@@ -208,8 +208,8 @@ static DECLARE_WAIT_QUEUE_HEAD(open_wait);
#define err(args...) \ #define err(args...) \
({ printk(KERN_ERR "Voyager: " args); \ ({ printk(KERN_ERR "Voyager: " args); \
printk("\n"); }) printk("\n"); })
#define dbgprint(args...) \ #define dbgprint(fmt, args...) \
({ printk(KERN_DEBUG "Voyager: " __FUNCTION__ ": " args); \ ({ printk(KERN_DEBUG "Voyager: %s: " fmt, __FUNCTION__ , ##args); \
printk("\n"); }) printk("\n"); })
#define dbg(args...) \ #define dbg(args...) \
({ if(debug >= 1) dbgprint(args); }) ({ if(debug >= 1) dbgprint(args); })
......
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