net: replace remaining __FUNCTION__ occurrences
__FUNCTION__ is gcc-specific, use __func__ Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
committed by
David S. Miller
parent
6387c4bed5
commit
0dc47877a3
@@ -23,9 +23,9 @@
|
||||
* DCCP - specific warning and debugging macros.
|
||||
*/
|
||||
#define DCCP_WARN(fmt, a...) LIMIT_NETDEBUG(KERN_WARNING "%s: " fmt, \
|
||||
__FUNCTION__, ##a)
|
||||
__func__, ##a)
|
||||
#define DCCP_CRIT(fmt, a...) printk(KERN_CRIT fmt " at %s:%d/%s()\n", ##a, \
|
||||
__FILE__, __LINE__, __FUNCTION__)
|
||||
__FILE__, __LINE__, __func__)
|
||||
#define DCCP_BUG(a...) do { DCCP_CRIT("BUG: " a); dump_stack(); } while(0)
|
||||
#define DCCP_BUG_ON(cond) do { if (unlikely((cond) != 0)) \
|
||||
DCCP_BUG("\"%s\" holds (exception!)", \
|
||||
@@ -36,7 +36,7 @@
|
||||
printk(fmt, ##args); \
|
||||
} while(0)
|
||||
#define DCCP_PR_DEBUG(enable, fmt, a...) DCCP_PRINTK(enable, KERN_DEBUG \
|
||||
"%s: " fmt, __FUNCTION__, ##a)
|
||||
"%s: " fmt, __func__, ##a)
|
||||
|
||||
#ifdef CONFIG_IP_DCCP_DEBUG
|
||||
extern int dccp_debug;
|
||||
|
Reference in New Issue
Block a user