summaryrefslogtreecommitdiff
path: root/src/commonlib/lz4_wrapper.c
diff options
context:
space:
mode:
authorLee Leahy <leroy.p.leahy@intel.com>2017-03-10 10:57:00 -0800
committerMartin Roth <martinroth@google.com>2017-03-13 21:23:21 +0100
commit49fd42dc65d6686f11eff691e37371ea6130a902 (patch)
tree001a3a0bdc8f64d0f69700862c0f5feeb4f0c5bb /src/commonlib/lz4_wrapper.c
parent07441b5ae6db1d171474b393d98d7da9595bcc8a (diff)
commonlib: Wrap lines at 80 columns
Fix the following warning detected by checkpatch.pl: TEST=Build and run on Galileo Gen2 Change-Id: I811763c6de57dfdf5456579f63e83dca29d37d61 Signed-off-by: Lee Leahy <Leroy.P.Leahy@intel.com> Reviewed-on: https://review.coreboot.org/18751 Tested-by: build bot (Jenkins) Reviewed-by: Martin Roth <martinroth@google.com>
Diffstat (limited to 'src/commonlib/lz4_wrapper.c')
-rw-r--r--src/commonlib/lz4_wrapper.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/commonlib/lz4_wrapper.c b/src/commonlib/lz4_wrapper.c
index 3fb6ae0892..e444f2c4bc 100644
--- a/src/commonlib/lz4_wrapper.c
+++ b/src/commonlib/lz4_wrapper.c
@@ -170,7 +170,8 @@ size_t ulz4fn(const void *src, size_t srcn, void *dst, size_t dstn)
}
if (b.not_compressed) {
- size_t size = MIN((uintptr_t)b.size, (uintptr_t)dst + dstn - (uintptr_t)out);
+ size_t size = MIN((uintptr_t)b.size, (uintptr_t)dst
+ + dstn - (uintptr_t)out);
memcpy(out, in, size);
if (size < b.size)
break; /* output overrun */