The current range check for the offset is wrong: it is counting bytes, while indexing an array of uint32_t. Since the offset is always zero, the parameter is unnecessary. Instead of adding more code to fix the check, remove the parameter to avoid the problem entirely. Signed-off-by: Samuel Holland <samuel@sholland.org> Change-Id: Iadfc7d027155adc754e017b3462233ce9a1d64f6 |
||
---|---|---|
.. | ||
include | ||
allwinner-common.mk | ||
arisc_off.S | ||
plat_helpers.S | ||
sunxi_bl31_setup.c | ||
sunxi_common.c | ||
sunxi_cpu_ops.c | ||
sunxi_pm.c | ||
sunxi_security.c | ||
sunxi_topology.c |