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
|
|
@ -11,14 +11,14 @@
|
|||
* these are normally enabled.
|
||||
*/
|
||||
#ifdef SMBFS_PARANOIA
|
||||
# define PARANOIA(f, a...) printk(KERN_NOTICE "%s: " f, __FUNCTION__ , ## a)
|
||||
# define PARANOIA(f, a...) printk(KERN_NOTICE "%s: " f, __func__ , ## a)
|
||||
#else
|
||||
# define PARANOIA(f, a...) do { ; } while(0)
|
||||
#endif
|
||||
|
||||
/* lots of debug messages */
|
||||
#ifdef SMBFS_DEBUG_VERBOSE
|
||||
# define VERBOSE(f, a...) printk(KERN_DEBUG "%s: " f, __FUNCTION__ , ## a)
|
||||
# define VERBOSE(f, a...) printk(KERN_DEBUG "%s: " f, __func__ , ## a)
|
||||
#else
|
||||
# define VERBOSE(f, a...) do { ; } while(0)
|
||||
#endif
|
||||
|
|
@ -28,7 +28,7 @@
|
|||
* too common name.
|
||||
*/
|
||||
#ifdef SMBFS_DEBUG
|
||||
#define DEBUG1(f, a...) printk(KERN_DEBUG "%s: " f, __FUNCTION__ , ## a)
|
||||
#define DEBUG1(f, a...) printk(KERN_DEBUG "%s: " f, __func__ , ## a)
|
||||
#else
|
||||
#define DEBUG1(f, a...) do { ; } while(0)
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Reference in a new issue