mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-30 03:27:44 -04:00
fs: replace remaining __FUNCTION__ occurrences
__FUNCTION__ is gcc-specific, use __func__ Signed-off-by: Harvey Harrison <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
This commit is contained in:
parent
530b641278
commit
8e24eea728
28 changed files with 57 additions and 57 deletions
|
|
@ -45,7 +45,7 @@ static void ntfs_debug(const char *f, ...);
|
|||
extern void __ntfs_debug (const char *file, int line, const char *function,
|
||||
const char *format, ...) __attribute__ ((format (printf, 4, 5)));
|
||||
#define ntfs_debug(f, a...) \
|
||||
__ntfs_debug(__FILE__, __LINE__, __FUNCTION__, f, ##a)
|
||||
__ntfs_debug(__FILE__, __LINE__, __func__, f, ##a)
|
||||
|
||||
extern void ntfs_debug_dump_runlist(const runlist_element *rl);
|
||||
|
||||
|
|
@ -58,10 +58,10 @@ extern void ntfs_debug_dump_runlist(const runlist_element *rl);
|
|||
|
||||
extern void __ntfs_warning(const char *function, const struct super_block *sb,
|
||||
const char *fmt, ...) __attribute__ ((format (printf, 3, 4)));
|
||||
#define ntfs_warning(sb, f, a...) __ntfs_warning(__FUNCTION__, sb, f, ##a)
|
||||
#define ntfs_warning(sb, f, a...) __ntfs_warning(__func__, sb, f, ##a)
|
||||
|
||||
extern void __ntfs_error(const char *function, const struct super_block *sb,
|
||||
const char *fmt, ...) __attribute__ ((format (printf, 3, 4)));
|
||||
#define ntfs_error(sb, f, a...) __ntfs_error(__FUNCTION__, sb, f, ##a)
|
||||
#define ntfs_error(sb, f, a...) __ntfs_error(__func__, sb, f, ##a)
|
||||
|
||||
#endif /* _LINUX_NTFS_DEBUG_H */
|
||||
|
|
|
|||
Loading…
Reference in a new issue