drivers/net: 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: Jeff Garzik <jgarzik@redhat.com>
This commit is contained in:
committed by
Jeff Garzik
parent
b514f6b6da
commit
b39d66a81f
@@ -36,7 +36,7 @@
|
||||
#define assert(expr) \
|
||||
if (!(expr)) { \
|
||||
printk( "Assertion failed! %s,%s,%s,line=%d\n", \
|
||||
#expr,__FILE__,__FUNCTION__,__LINE__); \
|
||||
#expr,__FILE__,__func__,__LINE__); \
|
||||
}
|
||||
#define dprintk(fmt, args...) \
|
||||
do { printk(KERN_DEBUG PFX fmt, ## args); } while (0)
|
||||
|
Reference in New Issue
Block a user