fs: 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: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:

committed by
Linus Torvalds

parent
530b641278
commit
8e24eea728
@@ -82,28 +82,28 @@
|
||||
do { \
|
||||
printk(JFFS2_ERR_MSG_PREFIX \
|
||||
" (%d) %s: " fmt, task_pid_nr(current), \
|
||||
__FUNCTION__ , ##__VA_ARGS__); \
|
||||
__func__ , ##__VA_ARGS__); \
|
||||
} while(0)
|
||||
|
||||
#define JFFS2_WARNING(fmt, ...) \
|
||||
do { \
|
||||
printk(JFFS2_WARN_MSG_PREFIX \
|
||||
" (%d) %s: " fmt, task_pid_nr(current), \
|
||||
__FUNCTION__ , ##__VA_ARGS__); \
|
||||
__func__ , ##__VA_ARGS__); \
|
||||
} while(0)
|
||||
|
||||
#define JFFS2_NOTICE(fmt, ...) \
|
||||
do { \
|
||||
printk(JFFS2_NOTICE_MSG_PREFIX \
|
||||
" (%d) %s: " fmt, task_pid_nr(current), \
|
||||
__FUNCTION__ , ##__VA_ARGS__); \
|
||||
__func__ , ##__VA_ARGS__); \
|
||||
} while(0)
|
||||
|
||||
#define JFFS2_DEBUG(fmt, ...) \
|
||||
do { \
|
||||
printk(JFFS2_DBG_MSG_PREFIX \
|
||||
" (%d) %s: " fmt, task_pid_nr(current), \
|
||||
__FUNCTION__ , ##__VA_ARGS__); \
|
||||
__func__ , ##__VA_ARGS__); \
|
||||
} while(0)
|
||||
|
||||
/*
|
||||
|
Reference in New Issue
Block a user