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/

Reply via email to