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 libpayload/libc/console: Flush input driver buffer on init 2017-04-19 19:19:56 +02:00
coreboot.c libpayload: Add VPD address into lib_sysinfo 2017-01-13 17:40:10 +01:00
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 libpayload: Fix strtok_r 2016-09-08 21:11:34 +02:00
strlcpy.c
sysinfo.c
time.c libpayload: Fix compile error in time.c if nvram support is disabled 2015-08-10 18:10:00 +02:00