mirror of
https://github.com/fail0verflow/switch-coreboot.git
synced 2025-05-04 01:39:18 -04:00
UPSTREAM: commonlib: Wrap lines at 80 columns
Fix the following warning detected by checkpatch.pl:
TEST=Build and run on Galileo Gen2
Change-Id: Ib1fb7473010736c96ff3794cdde980d511bf65c7
Signed-off-by: Patrick Georgi <pgeorgi@chromium.org>
Original-Commit-Id: 49fd42dc65
Original-Change-Id: I811763c6de57dfdf5456579f63e83dca29d37d61
Original-Signed-off-by: Lee Leahy <Leroy.P.Leahy@intel.com>
Original-Reviewed-on: https://review.coreboot.org/18751
Original-Tested-by: build bot (Jenkins)
Original-Reviewed-by: Martin Roth <martinroth@google.com>
Reviewed-on: https://chromium-review.googlesource.com/454570
This commit is contained in:
parent
271c1ae721
commit
cb312131d2
2 changed files with 6 additions and 5 deletions
|
@ -170,7 +170,8 @@ size_t ulz4fn(const void *src, size_t srcn, void *dst, size_t dstn)
|
||||||
}
|
}
|
||||||
|
|
||||||
if (b.not_compressed) {
|
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);
|
memcpy(out, in, size);
|
||||||
if (size < b.size)
|
if (size < b.size)
|
||||||
break; /* output overrun */
|
break; /* output overrun */
|
||||||
|
|
Loading…
Add table
Reference in a new issue