coreboot-kgpe-d16/payloads
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
..
bayou payloads: change coreboot to lowercase 2017-06-07 12:08:55 +02:00
coreinfo Rename __attribute__((packed)) --> __packed 2017-07-13 19:45:59 +00:00
external payloads/depthcharge: Fix clean target 2017-07-26 19:30:59 +00:00
libpayload libpayload: Clean up unaligned memset() support 2017-07-26 19:34:02 +00:00
nvramcui nvramcui: Use regular `if` over `#if` for `IS_ENABLED` 2017-06-06 23:34:19 +02:00
Kconfig payloads/Kconfig: Add NO_DEFAULT_PAYLOAD 2017-06-07 13:10:48 +02:00
Makefile.inc tint: Fix tint and add Kconfig option 2016-06-28 18:29:48 +02:00