From df51c6d02a2b8a5b62be8268b7de3e748c0de6d9 Mon Sep 17 00:00:00 2001 From: Mariusz Kozlowski Date: Fri, 1 Dec 2006 16:39:08 +0100 Subject: [PATCH] [PATCH] byteorder swab parenthesis fix Hello, This patch fixes byteorder swab 24 macro parenthesis. Signed-off-by: Mariusz Kozlowski include/linux/byteorder/swab.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- include/linux/byteorder/swab.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/linux/byteorder/swab.h b/include/linux/byteorder/swab.h index 800931f8..34d76ad1 100644 --- a/include/linux/byteorder/swab.h +++ b/include/linux/byteorder/swab.h @@ -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)( \ -- 2.11.0