lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite for Android: free password hash cracker in your pocket
[<prev] [next>] [day] [month] [year] [list]
Date:	Thu, 24 May 2007 19:57:39 +0200
From:	Mariusz Kozlowski <m.kozlowski@...land.pl>
To:	Jonathan Brassow <jbrassow@...hat.com>
Cc:	Alasdair G Kergon <agk@...hat.com>,
	Andrew Morton <akpm@...ux-foundation.org>,
	linux-kernel@...r.kernel.org
Subject: [PATCH] add missing braces in dm driver debug code

Hello,

	Add missing braces in md debug macros.

Signed-off-by: Mariusz Kozlowski <m.kozlowski@...land.pl>

 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 majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ