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
@@ -742,7 +742,7 @@ extern char netxen_nic_driver_name[];
|
||||
} while (0)
|
||||
#else
|
||||
#define DPRINTK(klevel, fmt, args...) do { \
|
||||
printk(KERN_##klevel PFX "%s: %s: " fmt, __FUNCTION__,\
|
||||
printk(KERN_##klevel PFX "%s: %s: " fmt, __func__,\
|
||||
(adapter != NULL && adapter->netdev != NULL) ? \
|
||||
adapter->netdev->name : NULL, \
|
||||
## args); } while(0)
|
||||
|
Reference in New Issue
Block a user