Hello,
Add missing braces in md debug macros.
Signed-off-by: Mariusz Kozlowski <[email protected]>
drivers/md/dm.h | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff -upr linux-2.6.22-rc2-mm1-a/drivers/md/dm.h linux-2.6.22-rc2-mm1-b/drivers/md/dm.h
--- linux-2.6.22-rc2-mm1-a/drivers/md/dm.h 2007-05-23 13:04:21.000000000 +0200
+++ linux-2.6.22-rc2-mm1-b/drivers/md/dm.h 2007-05-24 19:23:46.000000000 +0200
@@ -25,7 +25,7 @@
if (printk_ratelimit()) \
printk(KERN_ERR DM_NAME ": " DM_MSG_PREFIX ": " \
f "\n", ## arg); \
- while (0)
+ } while (0)
#define DMWARN(f, arg...) \
printk(KERN_WARNING DM_NAME ": " DM_MSG_PREFIX ": " f "\n", ## arg)
@@ -34,7 +34,7 @@
if (printk_ratelimit()) \
printk(KERN_WARNING DM_NAME ": " DM_MSG_PREFIX ": " \
f "\n", ## arg); \
- while (0)
+ } while (0)
#define DMINFO(f, arg...) \
printk(KERN_INFO DM_NAME ": " DM_MSG_PREFIX ": " f "\n", ## arg)
@@ -43,7 +43,7 @@
if (printk_ratelimit()) \
printk(KERN_INFO DM_NAME ": " DM_MSG_PREFIX ": " f \
"\n", ## arg); \
- while (0)
+ } while (0)
#ifdef CONFIG_DM_DEBUG
# define DMDEBUG(f, arg...) \
@@ -53,7 +53,7 @@
if (printk_ratelimit()) \
printk(KERN_DEBUG DM_NAME ": " DM_MSG_PREFIX ": " f \
"\n", ## arg); \
- while (0)
+ } while (0)
#else
# define DMDEBUG(f, arg...) do {} while (0)
# define DMDEBUG_LIMIT(f, arg...) do {} while (0)
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
[Index of Archives]
[Kernel Newbies]
[Netfilter]
[Bugtraq]
[Photo]
[Stuff]
[Gimp]
[Yosemite News]
[MIPS Linux]
[ARM Linux]
[Linux Security]
[Linux RAID]
[Video 4 Linux]
[Linux for the blind]
[Linux Resources]