arm64: Add missing sentinel to erratum_1463225
authorFlorian Fainelli <f.fainelli@gmail.com>
Thu, 9 Jul 2020 05:13:40 +0000 (22:13 -0700)
committerWill Deacon <will@kernel.org>
Thu, 9 Jul 2020 08:42:24 +0000 (09:42 +0100)
commit09c717c92b52df54918e12cbfe6a4658233fda69
tree5ebf1026f0ec8701c816132b9bd468b4d46c0ef9
parent581fce373581772470af8fb4fe13505dc66281e6
arm64: Add missing sentinel to erratum_1463225

When the erratum_1463225 array was introduced a sentinel at the end was
missing thus causing a KASAN: global-out-of-bounds in
is_affected_midr_range_list on arm64 error.

Fixes: a9e821b89daa ("arm64: Add KRYO4XX gold CPU cores to erratum list 1463225 and 1418040")
Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
Reviewed-by: Sai Prakash Ranjan <saiprakash.ranjan@codeaurora.org>
Link: https://lore.kernel.org/linux-arm-kernel/CA+G9fYs3EavpU89-rTQfqQ9GgxAMgMAk7jiiVrfP0yxj5s+Q6g@mail.gmail.com/
Link: https://lore.kernel.org/r/20200709051345.14544-1-f.fainelli@gmail.com
Signed-off-by: Will Deacon <will@kernel.org>
arch/arm64/kernel/cpu_errata.c