summary refs log tree commit diff
path: root/fs/ext4/ext4.h
diff options
context:
space:
mode:
authorJoe Perches <joe@perches.com>2012-03-19 23:11:43 -0400
committerTheodore Ts'o <tytso@mit.edu>2012-03-19 23:11:43 -0400
commitace36ad431c6820c2a8718cee85e5294d6e19747 (patch)
treeb912bf7cf277cbca3bb04d71e973ad1cbf62b432 /fs/ext4/ext4.h
parent7f6a11e73d755ce82497ee4ac79d85aa10f73a38 (diff)
downloadlinux-ace36ad431c6820c2a8718cee85e5294d6e19747.tar.gz
ext4: add no_printk argument validation, fix fallout
Add argument validation to debug functions.
Use ##__VA_ARGS__.

Fix format and argument mismatches.

Signed-off-by: Joe Perches <joe@perches.com>
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
Diffstat (limited to 'fs/ext4/ext4.h')
-rw-r--r--fs/ext4/ext4.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/ext4/ext4.h b/fs/ext4/ext4.h
index 26ee54b2ce82..ded731ac8a32 100644
--- a/fs/ext4/ext4.h
+++ b/fs/ext4/ext4.h
@@ -53,7 +53,7 @@
 		printk(KERN_DEBUG f, ## a);				\
 	} while (0)
 #else
-#define ext4_debug(f, a...)	do {} while (0)
+#define ext4_debug(fmt, ...)	no_printk(fmt, ##__VA_ARGS__)
 #endif
 
 #define EXT4_ERROR_INODE(inode, fmt, a...) \