Searched hist:"5 cffedcec2c0dda50e4172e0cfd769b0e6ad665c" (Results 1 – 3 of 3) sorted by relevance
| /rk3399_ARM-atf/plat/allwinner/common/ |
| H A D | sunxi_cpu_ops.c | 5cffedcec2c0dda50e4172e0cfd769b0e6ad665c 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 D | sunxi_common.c | 5cffedcec2c0dda50e4172e0cfd769b0e6ad665c 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 D | sunxi_private.h | 5cffedcec2c0dda50e4172e0cfd769b0e6ad665c 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
|