coreboot-kgpe-d16/payloads/libpayload/libc
Nico Huber 50ab84fa37 libpayload: Clean up unaligned memset() support
Use a `for` instead of a `while` loop and use meaningful identifiers.
Also, don't use more than one variable for one and the same purpose,
don't use more (non-const) variables than necessary, don't alter more
than one variable per statement, don't compare pointers of different
types and don't do pointer arithmetic on `void *`.

This was meant as a fix up to a regression but that has already been
fixed.

Change-Id: I0c8fd118d127a26cfcf68bfb0bf681495821e80a
Signed-off-by: Nico Huber <nico.huber@secunet.com>
Reviewed-on: https://review.coreboot.org/20750
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Julius Werner <jwerner@chromium.org>
2017-07-26 19:34:02 +00:00
..
64bit_div.c
Makefile.inc
args.c
console.c
coreboot.c
ctype.c
die.c
exec.c
fmap.c
getopt_long.c
hexdump.c
ipchecksum.c
lib.c
libgcc.c
malloc.c payloads: change coreboot to lowercase 2017-06-07 12:08:55 +02:00
memory.c libpayload: Clean up unaligned memset() support 2017-07-26 19:34:02 +00:00
printf.c
qsort.c
rand.c
readline.c
string.c
strlcpy.c
sysinfo.c
time.c