isdn: replace remaining __FUNCTION__ occurrences
__FUNCTION__ is gcc-specific, use __func__ Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com> Cc: Karsten Keil <kkeil@suse.de> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:

committed by
Linus Torvalds

parent
dd58c0dd30
commit
156f1ed640
@@ -27,14 +27,14 @@
|
||||
|
||||
#define DBG(level, format, arg...) do { \
|
||||
if (level & __debug_variable) \
|
||||
printk(KERN_DEBUG "%s: " format "\n" , __FUNCTION__ , ## arg); \
|
||||
printk(KERN_DEBUG "%s: " format "\n" , __func__ , ## arg); \
|
||||
} while (0)
|
||||
|
||||
#define DBG_PACKET(level,data,count) \
|
||||
if (level & __debug_variable) dump_packet(__FUNCTION__,data,count)
|
||||
if (level & __debug_variable) dump_packet(__func__,data,count)
|
||||
|
||||
#define DBG_SKB(level,skb) \
|
||||
if ((level & __debug_variable) && skb) dump_packet(__FUNCTION__,skb->data,skb->len)
|
||||
if ((level & __debug_variable) && skb) dump_packet(__func__,skb->data,skb->len)
|
||||
|
||||
|
||||
static void __attribute__((unused))
|
||||
|
Reference in New Issue
Block a user