Commit 47496445 authored by Linus Torvalds's avatar Linus Torvalds

Fix smbfs debug macros

parent ef8e826c
...@@ -11,14 +11,14 @@ ...@@ -11,14 +11,14 @@
* these are normally enabled. * these are normally enabled.
*/ */
#ifdef SMBFS_PARANOIA #ifdef SMBFS_PARANOIA
# define PARANOIA(f, a...) printk(KERN_NOTICE "%s: " f, __FUNCTION__, ## a) # define PARANOIA(f, a...) printk(KERN_NOTICE "%s: " f, __FUNCTION__ , ## a)
#else #else
# define PARANOIA(f, a...) do { ; } while(0) # define PARANOIA(f, a...) do { ; } while(0)
#endif #endif
/* lots of debug messages */ /* lots of debug messages */
#ifdef SMBFS_DEBUG_VERBOSE #ifdef SMBFS_DEBUG_VERBOSE
# define VERBOSE(f, a...) printk(KERN_DEBUG "%s: " f, __FUNCTION__, ## a) # define VERBOSE(f, a...) printk(KERN_DEBUG "%s: " f, __FUNCTION__ , ## a)
#else #else
# define VERBOSE(f, a...) do { ; } while(0) # define VERBOSE(f, a...) do { ; } while(0)
#endif #endif
...@@ -28,7 +28,7 @@ ...@@ -28,7 +28,7 @@
* too common name. * too common name.
*/ */
#ifdef SMBFS_DEBUG #ifdef SMBFS_DEBUG
#define DEBUG1(x...) printk(KERN_DEBUG __FUNCTION__ ": " x) #define DEBUG1(f, a...) printk(KERN_DEBUG "%s: " f, __FUNCTION__ , ## a)
#else #else
#define DEBUG1(x...) do { ; } while(0) #define DEBUG1(f, a...) do { ; } while(0)
#endif #endif
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment