OSDN Git Service

[PATCH] byteorder swab parenthesis fix
authorMariusz Kozlowski <m.kozlowski@tuxland.pl>
Fri, 1 Dec 2006 15:39:08 +0000 (16:39 +0100)
committerWilly Tarreau <w@1wt.eu>
Sun, 25 Feb 2007 07:41:32 +0000 (08:41 +0100)
Hello,

This patch fixes byteorder swab 24 macro parenthesis.

Signed-off-by: Mariusz Kozlowski <m.kozlowski@tuxland.pl>
 include/linux/byteorder/swab.h |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

include/linux/byteorder/swab.h

index 800931f..34d76ad 100644 (file)
@@ -68,7 +68,7 @@
 #define ___constant_swab24(x) \
        ((__u32)( \
                (((__u32)(x) & (__u32)0x000000ffU) << 16) | \
-               (((__u32)(x) & (__u32)0x0000ff00U)        | \
+               (((__u32)(x) & (__u32)0x0000ff00U))       | \
                (((__u32)(x) & (__u32)0x00ff0000U) >> 16) ))
 #define ___constant_swab32(x) \
        ((__u32)( \