atm: 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
d4f7751495
commit
5a346a10c0
@@ -95,8 +95,8 @@
|
||||
#if 1
|
||||
#define ASSERT(expr) if (!(expr)) { \
|
||||
printk(FORE200E "assertion failed! %s[%d]: %s\n", \
|
||||
__FUNCTION__, __LINE__, #expr); \
|
||||
panic(FORE200E "%s", __FUNCTION__); \
|
||||
__func__, __LINE__, #expr); \
|
||||
panic(FORE200E "%s", __func__); \
|
||||
}
|
||||
#else
|
||||
#define ASSERT(expr) do {} while (0)
|
||||
|
Reference in New Issue
Block a user