From 1c0b8dc816980061dfd048d62eff8a7f4bc594c6 Mon Sep 17 00:00:00 2001 From: Bill Richardson Date: Fri, 4 Mar 2016 16:10:32 -0800 Subject: [PATCH] Cr50: cleanup: put macro args inside parens Just to be safe... BUG=none BRANCH=none TEST=make buildall; try on Cr50 board Change-Id: I5b605a50f85dbfeb404fa93b59d795b7f8a0d5c5 Signed-off-by: Bill Richardson Reviewed-on: https://chromium-review.googlesource.com/332197 Reviewed-by: Vadim Bendebury --- board/cr50/board.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/board/cr50/board.c b/board/cr50/board.c index 5ebd66e089..3f951e8b41 100644 --- a/board/cr50/board.c +++ b/board/cr50/board.c @@ -25,7 +25,7 @@ * two GPIOs to the same input and configure each one for a separate edge. */ #define GPIO_INT(name, pin, flags, signal) \ - BUILD_ASSERT((flags & GPIO_INT_BOTH) != GPIO_INT_BOTH); + BUILD_ASSERT(((flags) & GPIO_INT_BOTH) != GPIO_INT_BOTH); #include "gpio.wrap" static void init_pmu(void)