diff options
Diffstat (limited to 'net/irda/irnet/irnet.h')
-rw-r--r-- | net/irda/irnet/irnet.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/net/irda/irnet/irnet.h b/net/irda/irnet/irnet.h index bc2e15ce7004..a00e422c822e 100644 --- a/net/irda/irnet/irnet.h +++ b/net/irda/irnet/irnet.h | |||
@@ -337,27 +337,27 @@ | |||
337 | /* All error messages (will show up in the normal logs) */ | 337 | /* All error messages (will show up in the normal logs) */ |
338 | #define DERROR(dbg, format, args...) \ | 338 | #define DERROR(dbg, format, args...) \ |
339 | {if(DEBUG_##dbg) \ | 339 | {if(DEBUG_##dbg) \ |
340 | printk(KERN_INFO "irnet: %s(): " format, __FUNCTION__ , ##args);} | 340 | printk(KERN_INFO "irnet: %s(): " format, __func__ , ##args);} |
341 | 341 | ||
342 | /* Normal debug message (will show up in /var/log/debug) */ | 342 | /* Normal debug message (will show up in /var/log/debug) */ |
343 | #define DEBUG(dbg, format, args...) \ | 343 | #define DEBUG(dbg, format, args...) \ |
344 | {if(DEBUG_##dbg) \ | 344 | {if(DEBUG_##dbg) \ |
345 | printk(KERN_DEBUG "irnet: %s(): " format, __FUNCTION__ , ##args);} | 345 | printk(KERN_DEBUG "irnet: %s(): " format, __func__ , ##args);} |
346 | 346 | ||
347 | /* Entering a function (trace) */ | 347 | /* Entering a function (trace) */ |
348 | #define DENTER(dbg, format, args...) \ | 348 | #define DENTER(dbg, format, args...) \ |
349 | {if(DEBUG_##dbg) \ | 349 | {if(DEBUG_##dbg) \ |
350 | printk(KERN_DEBUG "irnet: -> %s" format, __FUNCTION__ , ##args);} | 350 | printk(KERN_DEBUG "irnet: -> %s" format, __func__ , ##args);} |
351 | 351 | ||
352 | /* Entering and exiting a function in one go (trace) */ | 352 | /* Entering and exiting a function in one go (trace) */ |
353 | #define DPASS(dbg, format, args...) \ | 353 | #define DPASS(dbg, format, args...) \ |
354 | {if(DEBUG_##dbg) \ | 354 | {if(DEBUG_##dbg) \ |
355 | printk(KERN_DEBUG "irnet: <>%s" format, __FUNCTION__ , ##args);} | 355 | printk(KERN_DEBUG "irnet: <>%s" format, __func__ , ##args);} |
356 | 356 | ||
357 | /* Exiting a function (trace) */ | 357 | /* Exiting a function (trace) */ |
358 | #define DEXIT(dbg, format, args...) \ | 358 | #define DEXIT(dbg, format, args...) \ |
359 | {if(DEBUG_##dbg) \ | 359 | {if(DEBUG_##dbg) \ |
360 | printk(KERN_DEBUG "irnet: <-%s()" format, __FUNCTION__ , ##args);} | 360 | printk(KERN_DEBUG "irnet: <-%s()" format, __func__ , ##args);} |
361 | 361 | ||
362 | /* Exit a function with debug */ | 362 | /* Exit a function with debug */ |
363 | #define DRETURN(ret, dbg, args...) \ | 363 | #define DRETURN(ret, dbg, args...) \ |