commit | 5cffedcec2c0dda50e4172e0cfd769b0e6ad665c | [log] [tgz] |
---|---|---|
author | Samuel Holland <samuel@sholland.org> | Sun Oct 20 14:18:48 2019 -0500 |
committer | Samuel Holland <samuel@sholland.org> | Wed Dec 04 01:54:48 2019 -0600 |
tree | f290f7a7a60c1b30366c09006d7831b0a04fef41 | |
parent | 87b582ef5b31c5893a470b61c217931fc7602da3 [diff] |
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