[PATCH 5/9] Staging: bcm: Fix error: "Macros with complex values should be enclosed in parenthesis" in Debug.h

Kevin McKinney klmckinney1 at gmail.com
Fri Dec 28 04:18:23 UTC 2012


This patch fixes the following error: "Macros with
complex values should be enclosed in parenthesis"
as reported by checkpatch.pl.

Signed-off-by: Kevin McKinney <klmckinney1 at gmail.com>
---
 drivers/staging/bcm/Debug.h |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/staging/bcm/Debug.h b/drivers/staging/bcm/Debug.h
index 7a66219..4b620d9 100644
--- a/drivers/staging/bcm/Debug.h
+++ b/drivers/staging/bcm/Debug.h
@@ -192,7 +192,7 @@ typedef struct _S_BCM_DEBUG_STATE {
  * We'll reuse the debug level parameter to include a bit (the MSB) to indicate whether or not
  * we want the function's name printed.
  */
-#define DBG_NO_FUNC_PRINT	1 << 31
+#define DBG_NO_FUNC_PRINT	(1 << 31)
 #define DBG_LVL_BITMASK		0xFF
 
 /* --- Only for direct printk's; "hidden" to API. */
-- 
1.7.9.5




More information about the devel mailing list