From 91d1e76fd168defce4132d1e308b68a2013a89df Mon Sep 17 00:00:00 2001 From: Lee Leahy Date: Tue, 7 Mar 2017 14:31:19 -0800 Subject: src/include: Remove spaces before ( and after ) Fix the following error messages found by checkpatch.pl: ERROR: space prohibited after that open parenthesis '(' ERROR: space prohibited before that close parenthesis ')' TEST=Build and run on Galileo Gen2 Change-Id: I2a9a0df640c51ff3efa83dde852dd6ff37ac3c06 Signed-off-by: Lee Leahy Reviewed-on: https://review.coreboot.org/18651 Tested-by: build bot (Jenkins) Reviewed-by: Martin Roth --- src/include/swab.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/include/swab.h') diff --git a/src/include/swab.h b/src/include/swab.h index 8a7dabaa0a..a372797f7c 100644 --- a/src/include/swab.h +++ b/src/include/swab.h @@ -21,14 +21,14 @@ #define swab16(x) \ ((unsigned short)( \ (((unsigned short)(x) & (unsigned short)0x00ffU) << 8) | \ - (((unsigned short)(x) & (unsigned short)0xff00U) >> 8) )) + (((unsigned short)(x) & (unsigned short)0xff00U) >> 8))) #define swab32(x) \ ((unsigned int)( \ (((unsigned int)(x) & (unsigned int)0x000000ffUL) << 24) | \ (((unsigned int)(x) & (unsigned int)0x0000ff00UL) << 8) | \ (((unsigned int)(x) & (unsigned int)0x00ff0000UL) >> 8) | \ - (((unsigned int)(x) & (unsigned int)0xff000000UL) >> 24) )) + (((unsigned int)(x) & (unsigned int)0xff000000UL) >> 24))) #define swab64(x) \ ((uint64_t)( \ @@ -39,6 +39,6 @@ (((uint64_t)(x) & (uint64_t)0x000000ff00000000ULL) >> 8) | \ (((uint64_t)(x) & (uint64_t)0x0000ff0000000000ULL) >> 24) | \ (((uint64_t)(x) & (uint64_t)0x00ff000000000000ULL) >> 40) | \ - (((uint64_t)(x) & (uint64_t)0xff00000000000000ULL) >> 56) )) + (((uint64_t)(x) & (uint64_t)0xff00000000000000ULL) >> 56))) #endif /* _SWAB_H */ -- cgit v1.2.3