commit | ac684b99480a743079459296e6284cbda3a8c735 | [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 | d7dd85fdda15039501c419c0eb6b3fd715c7076f [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