Home
last modified time | relevance | path

Searched hist:"5 cffedcec2c0dda50e4172e0cfd769b0e6ad665c" (Results 1 – 3 of 3) sorted by relevance

/rk3399_ARM-atf/plat/allwinner/common/
H A Dsunxi_cpu_ops.c5cffedcec2c0dda50e4172e0cfd769b0e6ad665c Sun Oct 20 19:18:48 UTC 2019 Samuel Holland <samuel@sholland.org> allwinner: Fix incorrect ARISC code patch offset check

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
H A Dsunxi_common.c5cffedcec2c0dda50e4172e0cfd769b0e6ad665c Sun Oct 20 19:18:48 UTC 2019 Samuel Holland <samuel@sholland.org> allwinner: Fix incorrect ARISC code patch offset check

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
/rk3399_ARM-atf/plat/allwinner/common/include/
H A Dsunxi_private.h5cffedcec2c0dda50e4172e0cfd769b0e6ad665c Sun Oct 20 19:18:48 UTC 2019 Samuel Holland <samuel@sholland.org> allwinner: Fix incorrect ARISC code patch offset check

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