include: replace __FUNCTION__ with __func__
__FUNCTION__ is gcc-specific, use __func__ Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com> 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
8e9c7716c1
commit
d5c003b4d1
@@ -114,7 +114,7 @@ extern u32 ieee80211_debug_level;
|
||||
#define IEEE80211_DEBUG(level, fmt, args...) \
|
||||
do { if (ieee80211_debug_level & (level)) \
|
||||
printk(KERN_DEBUG "ieee80211: %c %s " fmt, \
|
||||
in_interrupt() ? 'I' : 'U', __FUNCTION__ , ## args); } while (0)
|
||||
in_interrupt() ? 'I' : 'U', __func__ , ## args); } while (0)
|
||||
static inline bool ieee80211_ratelimit_debug(u32 level)
|
||||
{
|
||||
return (ieee80211_debug_level & level) && net_ratelimit();
|
||||
|
Reference in New Issue
Block a user