[S390] replace remaining __FUNCTION__ occurrences
__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: Martin Schwidefsky <schwidefsky@de.ibm.com> Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
This commit is contained in:

committed by
Heiko Carstens

parent
1e42f32785
commit
2a2cf6b186
@@ -43,17 +43,17 @@
|
||||
#define DEV_NAME "zcrypt"
|
||||
|
||||
#define PRINTK(fmt, args...) \
|
||||
printk(KERN_DEBUG DEV_NAME ": %s -> " fmt, __FUNCTION__ , ## args)
|
||||
printk(KERN_DEBUG DEV_NAME ": %s -> " fmt, __func__ , ## args)
|
||||
#define PRINTKN(fmt, args...) \
|
||||
printk(KERN_DEBUG DEV_NAME ": " fmt, ## args)
|
||||
#define PRINTKW(fmt, args...) \
|
||||
printk(KERN_WARNING DEV_NAME ": %s -> " fmt, __FUNCTION__ , ## args)
|
||||
printk(KERN_WARNING DEV_NAME ": %s -> " fmt, __func__ , ## args)
|
||||
#define PRINTKC(fmt, args...) \
|
||||
printk(KERN_CRIT DEV_NAME ": %s -> " fmt, __FUNCTION__ , ## args)
|
||||
printk(KERN_CRIT DEV_NAME ": %s -> " fmt, __func__ , ## args)
|
||||
|
||||
#ifdef ZCRYPT_DEBUG
|
||||
#define PDEBUG(fmt, args...) \
|
||||
printk(KERN_DEBUG DEV_NAME ": %s -> " fmt, __FUNCTION__ , ## args)
|
||||
printk(KERN_DEBUG DEV_NAME ": %s -> " fmt, __func__ , ## args)
|
||||
#else
|
||||
#define PDEBUG(fmt, args...) do {} while (0)
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user