diff options
author | Lee Leahy <leroy.p.leahy@intel.com> | 2017-03-08 18:02:24 -0800 |
---|---|---|
committer | Lee Leahy <leroy.p.leahy@intel.com> | 2017-03-09 17:30:21 +0100 |
commit | 45fde705b627d6194f795237647ce42eb535d1c3 (patch) | |
tree | 4e64bbab1033cd1f281564de14bb59119c3bc89d /src/lib/lzmadecode.c | |
parent | 2f919ec4765e4484d79b866332fa19ec338db5c0 (diff) | |
download | coreboot-45fde705b627d6194f795237647ce42eb535d1c3.tar.xz |
src/lib: Add space before (
Fix the following error detected by checkpatch.pl:
ERROR: space required before the open parenthesis '('
TEST=Build and run on Galileo Gen2
Change-Id: I8953fecbe75136ff989c9e3cf6c5e155dcee3c3b
Signed-off-by: Lee Leahy <Leroy.P.Leahy@intel.com>
Reviewed-on: https://review.coreboot.org/18698
Reviewed-by: Philippe Mathieu-Daudé <philippe.mathieu.daude@gmail.com>
Tested-by: build bot (Jenkins)
Reviewed-by: Arthur Heymans <arthur@aheymans.xyz>
Diffstat (limited to 'src/lib/lzmadecode.c')
-rw-r--r-- | src/lib/lzmadecode.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/lib/lzmadecode.c b/src/lib/lzmadecode.c index fbf15964a6..2f1a214fa5 100644 --- a/src/lib/lzmadecode.c +++ b/src/lib/lzmadecode.c @@ -38,7 +38,7 @@ : ((look_ahead.dw = *(UInt32 *)Buffer), (Buffer += 4), (look_ahead_ptr = 1), look_ahead.raw[0]))) #define RC_INIT2 Code = 0; Range = 0xFFFFFFFF; \ - { int i; for(i = 0; i < 5; i++) { RC_TEST; Code = (Code << 8) | RC_READ_BYTE; }} + { int i; for (i = 0; i < 5; i++) { RC_TEST; Code = (Code << 8) | RC_READ_BYTE; }} #define RC_TEST { if (Buffer == BufferLim) return LZMA_RESULT_DATA_ERROR; } @@ -60,7 +60,7 @@ #define RangeDecoderBitTreeDecode(probs, numLevels, res) \ { int i = numLevels; res = 1; \ - do { CProb *cp = probs + res; RC_GET_BIT(cp, res) } while(--i != 0); \ + do { CProb *cp = probs + res; RC_GET_BIT(cp, res) } while (--i != 0); \ res -= (1 << numLevels); } @@ -178,7 +178,7 @@ int LzmaDecode(CLzmaDecoderState *vs, RC_INIT(inStream, inSize); - while(nowPos < outSize) + while (nowPos < outSize) { CProb *prob; UInt32 bound; @@ -375,7 +375,7 @@ int LzmaDecode(CLzmaDecoderState *vs, RC_GET_BIT2(prob3, mi, ; , rep0 |= i); i <<= 1; } - while(--numDirectBits != 0); + while (--numDirectBits != 0); } } else @@ -399,7 +399,7 @@ int LzmaDecode(CLzmaDecoderState *vs, len--; outStream[nowPos++] = previousByte; } - while(len != 0 && nowPos < outSize); + while (len != 0 && nowPos < outSize); } } RC_NORMALIZE; |