summaryrefslogtreecommitdiff
path: root/src/soc/imgtec/pistachio/cbmem.c
diff options
context:
space:
mode:
authorNico Huber <nico.huber@secunet.com>2017-07-24 15:49:14 +0200
committerNico Huber <nico.h@gmx.de>2017-07-26 19:34:02 +0000
commit50ab84fa370ac247dfe57a65f9d9b1ed0384e7fa (patch)
treed9031f4fc15a6aff136f6a41a490815305a39d64 /src/soc/imgtec/pistachio/cbmem.c
parentc5362029e17f69d265178b7c6312a95e5d47a54b (diff)
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>
Diffstat (limited to 'src/soc/imgtec/pistachio/cbmem.c')
0 files changed, 0 insertions, 0 deletions