diff options
author | Lee Leahy <leroy.p.leahy@intel.com> | 2017-03-07 14:31:19 -0800 |
---|---|---|
committer | Martin Roth <martinroth@google.com> | 2017-03-12 15:45:26 +0100 |
commit | 91d1e76fd168defce4132d1e308b68a2013a89df (patch) | |
tree | 87935e21ca30d6e3f42ba96326f37a2a438f85ee /src/include/swab.h | |
parent | 4eb155cee47557cd652d1a85fed5021b23f18a2a (diff) |
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 <Leroy.P.Leahy@intel.com>
Reviewed-on: https://review.coreboot.org/18651
Tested-by: build bot (Jenkins)
Reviewed-by: Martin Roth <martinroth@google.com>
Diffstat (limited to 'src/include/swab.h')
-rw-r--r-- | src/include/swab.h | 6 |
1 files changed, 3 insertions, 3 deletions
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 */ |