mirror of
https://github.com/joel16/android_kernel_sony_msm8994_rework.git
synced 2025-01-09 21:40:29 +00:00
[PATCH] jffs2 debug gcc-2.9x fix
Work around gcc-2.95.x macro expansion bug. Cc: David Woodhouse <dwmw2@infradead.org> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
This commit is contained in:
parent
5e391dc9e3
commit
02b7068221
@ -82,28 +82,28 @@
|
|||||||
do { \
|
do { \
|
||||||
printk(JFFS2_ERR_MSG_PREFIX \
|
printk(JFFS2_ERR_MSG_PREFIX \
|
||||||
" (%d) %s: " fmt, current->pid, \
|
" (%d) %s: " fmt, current->pid, \
|
||||||
__FUNCTION__, ##__VA_ARGS__); \
|
__FUNCTION__ , ##__VA_ARGS__); \
|
||||||
} while(0)
|
} while(0)
|
||||||
|
|
||||||
#define JFFS2_WARNING(fmt, ...) \
|
#define JFFS2_WARNING(fmt, ...) \
|
||||||
do { \
|
do { \
|
||||||
printk(JFFS2_WARN_MSG_PREFIX \
|
printk(JFFS2_WARN_MSG_PREFIX \
|
||||||
" (%d) %s: " fmt, current->pid, \
|
" (%d) %s: " fmt, current->pid, \
|
||||||
__FUNCTION__, ##__VA_ARGS__); \
|
__FUNCTION__ , ##__VA_ARGS__); \
|
||||||
} while(0)
|
} while(0)
|
||||||
|
|
||||||
#define JFFS2_NOTICE(fmt, ...) \
|
#define JFFS2_NOTICE(fmt, ...) \
|
||||||
do { \
|
do { \
|
||||||
printk(JFFS2_NOTICE_MSG_PREFIX \
|
printk(JFFS2_NOTICE_MSG_PREFIX \
|
||||||
" (%d) %s: " fmt, current->pid, \
|
" (%d) %s: " fmt, current->pid, \
|
||||||
__FUNCTION__, ##__VA_ARGS__); \
|
__FUNCTION__ , ##__VA_ARGS__); \
|
||||||
} while(0)
|
} while(0)
|
||||||
|
|
||||||
#define JFFS2_DEBUG(fmt, ...) \
|
#define JFFS2_DEBUG(fmt, ...) \
|
||||||
do { \
|
do { \
|
||||||
printk(JFFS2_DBG_MSG_PREFIX \
|
printk(JFFS2_DBG_MSG_PREFIX \
|
||||||
" (%d) %s: " fmt, current->pid, \
|
" (%d) %s: " fmt, current->pid, \
|
||||||
__FUNCTION__, ##__VA_ARGS__); \
|
__FUNCTION__ , ##__VA_ARGS__); \
|
||||||
} while(0)
|
} while(0)
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
Loading…
Reference in New Issue
Block a user